Last active
January 13, 2016 15:25
-
-
Save groyoh/fb6f6f096b2929354fb3 to your computer and use it in GitHub Desktop.
Fish config
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
| # Global variables | |
| setenv FISH_PATH "~/.config/fish/" | |
| setenv FISH_CONF "$FISH_PATH/config.fish" | |
| # Aliases | |
| alias cpy "xsel -i -b" | |
| alias conf "e $FISH_CONF" | |
| alias load-conf ". $FISH_CONF" | |
| # Source files | |
| . ./emacs.fish | |
| . ./ruby.fish |
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
| alias e emacs | |
| alias se sudo emacs | |
| alias ed emacs --daemon | |
| alias ec emacsclient -t | |
| alias sec sudo emacsclient -t" | |
| setenv ALTERNATE_EDITOR "" | |
| setenv EDITOR "emacsclient -t" | |
| setenv VISUAL "emacsclient -c -a emacs" |
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
| setenv PATH "$HOME/.rbenv/bin" $PATH | |
| setenv PATH '/home/yor/.rbenv/shims' $PATH | |
| setenv RBENV_SHELL fish | |
| . '/home/yor/.rbenv/libexec/../completions/rbenv.fish' | |
| command rbenv rehash 2>/dev/null | |
| function rb | |
| set command $argv[1] | |
| set -e argv[1] | |
| switch "$command" | |
| case rehash shell | |
| . (rbenv "sh-$command" $argv|psub) | |
| case '*' | |
| command rbenv "$command" $argv | |
| end | |
| end | |
| alias rbv rb version | |
| alias rbi rb install | |
| alias rbu rb uninstall | |
| alias rbl rb local | |
| alias rbg rb global | |
| alias rbs rb shell | |
| alias bi "bundle install" | |
| alias bu "bundle update" | |
| alias bo "bundle update" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment