aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-03-26 00:43:18 +0800
committertypebrook <typebrook@gmail.com>2019-03-26 00:43:18 +0800
commit7f323cd0764f43f519c9d6972cde58b1722c52c6 (patch)
tree46fd2c9e8280fc5cdfcbffac92cb98bec8c1cc8c
parenta5a6f77c15fe14f4c9d8219268d8cb1489ac6bc8 (diff)
update
-rw-r--r--alias1
-rw-r--r--tigrc4
2 files changed, 4 insertions, 1 deletions
diff --git a/alias b/alias
index af563a1..cb290cc 100644
--- a/alias
+++ b/alias
@@ -68,7 +68,6 @@ alias t='tig'
68alias ta='tig --all' 68alias ta='tig --all'
69alias ts='tig status' 69alias ts='tig status'
70alias tg='tig grep' 70alias tg='tig grep'
71alias tr='tig refs'
72alias tl='tig log' 71alias tl='tig log'
73alias ty='tig stash' 72alias ty='tig stash'
74alias rl='git reflog --pretty=raw | tig --pretty=raw' 73alias rl='git reflog --pretty=raw | tig --pretty=raw'
diff --git a/tigrc b/tigrc
index fd76217..ff8bd0a 100644
--- a/tigrc
+++ b/tigrc
@@ -74,6 +74,10 @@ bind status D ?rm %(file)
74 74
75# stash view 75# stash view
76bind stash a ?git stash apply %(stash) 76bind stash a ?git stash apply %(stash)
77bind 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
79bind tree d ?rm %(file) 83bind tree d ?rm %(file)