Advertisement
Guest User

Untitled

a guest
May 1st, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. #
  2. # Executes commands at the start of an interactive session.
  3. #
  4. # Authors:
  5. # Sorin Ionescu <sorin.ionescu@gmail.com>
  6. #
  7.  
  8. # Source Prezto.
  9. if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
  10. source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
  11. fi
  12.  
  13. # Customize to your needs...
  14.  
  15. # anhphuc's customization starts
  16.  
  17. # Bash vi editing mode
  18. set -o vi
  19. export VISUAL=vim
  20. export EDITOR="$VISUAL"
  21.  
  22. # Custom git aliases
  23. alias gs="git status"
  24. alias gl="git lg"
  25. alias gm='git merge'
  26. alias gp="git push"
  27. alias gr='git remote'
  28. alias gc="git commit -v"
  29. alias ga='git add'
  30. alias gaa="git add --all"
  31. alias gdf="git diff HEAD"
  32. alias gds="git diff --stat HEAD"
  33. alias gco='git checkout'
  34. alias gf='git fetch'
  35.  
  36. #alias grb='git rebase'
  37. #alias grs='git reset'
  38.  
  39. # Custom tmux settings
  40. #export TERM=xterm-256color
  41. export TERM=xterm-256color-italic # Still needs other customizations
  42.  
  43. # Other aliases
  44. alias subl="open -a \"Sublime Text\""
  45.  
  46. #anhphuc's customization ends
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement