diff options
-rw-r--r-- | alias | 1 | ||||
-rw-r--r-- | tigrc | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -68,7 +68,6 @@ alias t='tig' | |||
68 | alias ta='tig --all' | 68 | alias ta='tig --all' |
69 | alias ts='tig status' | 69 | alias ts='tig status' |
70 | alias tg='tig grep' | 70 | alias tg='tig grep' |
71 | alias tr='tig refs' | ||
72 | alias tl='tig log' | 71 | alias tl='tig log' |
73 | alias ty='tig stash' | 72 | alias ty='tig stash' |
74 | alias rl='git reflog --pretty=raw | tig --pretty=raw' | 73 | alias rl='git reflog --pretty=raw | tig --pretty=raw' |
@@ -74,6 +74,10 @@ bind status D ?rm %(file) | |||
74 | 74 | ||
75 | # stash view | 75 | # stash view |
76 | bind stash a ?git stash apply %(stash) | 76 | bind stash a ?git stash apply %(stash) |
77 | bind stash n @sh -c "git stash drop %(stash) | \ | ||
78 | awk '{print $3}' | \ | ||
79 | tr -d '()' | \ | ||
80 | xargs git stash store -m '%(prompt Enter stash name: )'" | ||
77 | 81 | ||
78 | # tree view | 82 | # tree view |
79 | bind tree d ?rm %(file) | 83 | bind tree d ?rm %(file) |