Created
August 4, 2013 05:26
-
-
Save rahult/6149284 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Will save you're ass! ### | |
# Set C compiler | |
set -gx CC gcc | |
# Set architecture flags | |
set -gx ARCHFLAGS "-arch x86_64" | |
# fish functions and aliases | |
alias ls "ls -GF" | |
# fish shell greeting | |
set -gx fish_greeting '' | |
### Program defaults ### | |
set -gx BROWSER open | |
set -gx VISUAL vim -f | |
set -gx EDITOR vim -f | |
### PATH ### | |
set xquartz_path /opt/X11/bin | |
set default_path /usr/bin /usr/sbin /bin /sbin | |
set homebrew /usr/local/bin /usr/local/sbin | |
set brew_rbenv "/usr/local/var/rbenv/shims" | |
set brew_php (brew --prefix josegonzalez/php/php54)/bin | |
set -gx PATH $homebrew $brew_php $brew_rbenv $default_path $xquartz_path | |
### Ruby (rbenv) ### | |
set -gx RBENV_ROOT /usr/local/var/rbenv | |
### GitHub ### | |
# GitHub git base URL. | |
set -gx HUB_BASE [email protected]:rahult | |
### NOTES ### | |
# fish adds its bin dir when it starts, $__fish_bin_dir(/usr/local/Cellar/fishfish/HEAD/bin), | |
# to a global PATH, global is this session, universal is all sessions. | |
# the global takes precedence over the universal, so set -U PATH does not work | |
# https://github.com/fish-shell/fish-shell/issues/527 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment