Skip to content

Instantly share code, notes, and snippets.

@gertcuykens
Created October 4, 2016 05:34
Show Gist options
  • Save gertcuykens/b55827b5245733667ad7a6c1b0b73867 to your computer and use it in GitHub Desktop.
Save gertcuykens/b55827b5245733667ad7a6c1b0b73867 to your computer and use it in GitHub Desktop.
.config/fish/config.fish
#!/usr/local/bin/fish
# brew install fish
# echo /usr/local/bin/fish | sudo tee -a /etc/shells
# chsh -s /usr/local/bin/fish
# fish
# fish_config
# set fish_color_valid_path
# set -e fish_greeting
# .config/fish/config.fish
set -x RUST $HOME/.cargo/bin
set -x RUST_SRC_PATH $HOME/rust/src
set -x GOPATH $HOME/go
set -x GOBIN $HOME/go/bin
set -x GOAPP $HOME/go_appengine
set -x JSBIN $HOME/node_modules/.bin
set -x GEM $HOME/.gem/bin
set -x ANDROID $HOME/Library/Android/sdk/platform-tools
set -x PATH $PATH $GOBIN $GOAPP $JSBIN $ANDROID $GEM
# function scd
# set numargs (count $argv)
# switch $numargs
# case "1"
# cd $argv
# case "2"
# cd (echo (pwd) | sed "s/$argv[1]/$argv[2]/g")
# end
# end
# function fish_prompt -d "The left prompt"
# set_color purple
# date "+%m/%d/%y"
# set_color FF0
# echo (pwd) '>'
# set_color normal
# end
# function fish_right_prompt -d "The right prompt"
# echo [(pwd)]
# end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment