Guest User

Untitled

a guest
Jan 18th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. # nice light cyan color instead of dark blue
  2. set -gx LSCOLORS gxfxcxdxbxegedabagacad
  3.  
  4. function ls --description 'List contents of directory'
  5. command ls -lFG $argv
  6. end
  7.  
  8. function subl --description 'Launches sublime text in a new window'
  9. command subl -n $argv
  10. end
  11.  
  12. function code --description 'Launches visual code studio in a new window'
  13. command code -n $argv
  14. end
  15.  
  16. function grep --description 'Colorful grep that ignores binary file and outputs line number'
  17. command grep --color=always -I $argv
  18. end
  19.  
  20. function gf --description 'Do a git fetch'
  21. command git fetch
  22. end
  23.  
  24. function gdeletemergedcurrent --description 'Delete all local branches that is already merged to current branch (exludes master)'
  25. command git branch --merged | grep -v "\*" | grep -v "master" | xargs -n 1 git branch -d
  26. command git remote prune origin
  27. end
  28.  
  29. set -gx GOPATH $HOME/Go
  30. set -gx GOROOT (go env GOROOT)
  31. set PATH $HOME/bin $GOPATH/bin $HOME/.rbenv/shims /usr/local/bin /usr/local/sbin $PATH $GOROOT/bin ./node_modules/.bin
  32.  
  33. . $HOME/.config/fish/prompt.fish
  34.  
  35. # set -gx HOMEBREW_GITHUB_API_TOKEN #token here#
  36.  
  37. # Java
  38. set -gx JAVA_HOME (/usr/libexec/java_home)
  39.  
  40. # Allow 256 colors in iTerm2 for pretty vim colors
  41. set -gx CLICOLOR 1
  42. set -gx TERM xterm-256color
Add Comment
Please, Sign In to add comment