diff options
| -rw-r--r-- | alias | 1 | ||||
| -rw-r--r-- | tigrc | 3 |
2 files changed, 4 insertions, 0 deletions
| @@ -101,6 +101,7 @@ alias cdd='cd ~/Downloads' | |||
| 101 | alias cdD='cd ~/Documents' | 101 | alias cdD='cd ~/Documents' |
| 102 | alias cdP='cd ~/Pictures' | 102 | alias cdP='cd ~/Pictures' |
| 103 | alias cdV='cd ~/Videos' | 103 | alias cdV='cd ~/Videos' |
| 104 | alias cdb='cd ~/git/bashblog' | ||
| 104 | 105 | ||
| 105 | # git | 106 | # git |
| 106 | unalias gc &> /dev/null # override zsh plugin alias | 107 | unalias gc &> /dev/null # override zsh plugin alias |
| @@ -296,6 +296,9 @@ bind tree m >tig --follow -- %(file) | |||
| 296 | 296 | ||
| 297 | bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xsel -ib -o | awk '{print \"Tree Clipped\", $1}'" | 297 | bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xsel -ib -o | awk '{print \"Tree Clipped\", $1}'" |
| 298 | 298 | ||
| 299 | bind tree c NONE | ||
| 300 | bind tree cp +sh -c "git cat-file -p %(blob) >%(file) && echo File copied to %(file)" | ||
| 301 | |||
| 299 | bind tree . >sh -c "git diff --patch-with-stat %(ref) -- %(file) | tig" | 302 | bind tree . >sh -c "git diff --patch-with-stat %(ref) -- %(file) | tig" |
| 300 | 303 | ||
| 301 | #==================== | 304 | #==================== |