Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # nice light cyan color instead of dark blue
- set -gx LSCOLORS gxfxcxdxbxegedabagacad
- function ls --description 'List contents of directory'
- command ls -lFG $argv
- end
- function subl --description 'Launches sublime text in a new window'
- command subl -n $argv
- end
- function code --description 'Launches visual code studio in a new window'
- command code -n $argv
- end
- function grep --description 'Colorful grep that ignores binary file and outputs line number'
- command grep --color=always -I $argv
- end
- function gf --description 'Do a git fetch'
- command git fetch
- end
- function gdeletemergedcurrent --description 'Delete all local branches that is already merged to current branch (exludes master)'
- command git branch --merged | grep -v "\*" | grep -v "master" | xargs -n 1 git branch -d
- command git remote prune origin
- end
- set -gx GOPATH $HOME/Go
- set -gx GOROOT (go env GOROOT)
- set PATH $HOME/bin $GOPATH/bin $HOME/.rbenv/shims /usr/local/bin /usr/local/sbin $PATH $GOROOT/bin ./node_modules/.bin
- . $HOME/.config/fish/prompt.fish
- # set -gx HOMEBREW_GITHUB_API_TOKEN #token here#
- # Java
- set -gx JAVA_HOME (/usr/libexec/java_home)
- # Allow 256 colors in iTerm2 for pretty vim colors
- set -gx CLICOLOR 1
- set -gx TERM xterm-256color
Add Comment
Please, Sign In to add comment