Advertisement
Guest User

Untitled

a guest
Nov 27th, 2015
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. source ~/.bash-git-prompt/gitprompt.sh
  2. export VISUAL="subl -nw"
  3. alias gitrebcont='git add . && git rebase --continue'
  4. alias gitshowlastcommit='git diff HEAD^ HEAD'
  5. alias gitamend="git commit -a --amend --no-edit"
  6. function gitmasterrebase {
  7. git checkout master && git pull && git checkout $1 && git rebase master
  8. }
  9.  
  10. # I often type git twice by mistake
  11. function git {
  12. while [ $1 = 'git' ]; do
  13. shift
  14. done
  15. /usr/bin/env git "$@"
  16. }
  17.  
  18. # git shortcut
  19. function g {
  20. while [ $1 = 'g' ]; do
  21. shift
  22. done
  23. /usr/bin/env git "$@"
  24. }
  25.  
  26. # I often think an output is shown in less
  27. function qg {
  28. git "$@"
  29. }
  30. function qgit {
  31. git "$@"
  32. }
  33.  
  34. function startodoo {
  35. ~/Odoo/odoo/odoo.py --addons-path=../enterprise,addons "$@"
  36. }
  37.  
  38. cd /home/arthur/Odoo/odoo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement