aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2020-12-19 17:19:28 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2020-12-19 17:19:28 +0800
commit322d421c0fa8e8dd0be75e202797218027df3d69 (patch)
tree25a80d1fb1a57b443f6b0295e8a5678748ee849d
parent7ee29f1c5397dc02db396951ab7f31ca64ebd136 (diff)
update
-rw-r--r--alias1
-rw-r--r--tigrc3
2 files changed, 4 insertions, 0 deletions
diff --git a/alias b/alias
index 92b6c94..8cec108 100644
--- a/alias
+++ b/alias
@@ -101,6 +101,7 @@ alias cdd='cd ~/Downloads'
101alias cdD='cd ~/Documents' 101alias cdD='cd ~/Documents'
102alias cdP='cd ~/Pictures' 102alias cdP='cd ~/Pictures'
103alias cdV='cd ~/Videos' 103alias cdV='cd ~/Videos'
104alias cdb='cd ~/git/bashblog'
104 105
105# git 106# git
106unalias gc &> /dev/null # override zsh plugin alias 107unalias gc &> /dev/null # override zsh plugin alias
diff --git a/tigrc b/tigrc
index cb726b7..d34b8d1 100644
--- a/tigrc
+++ b/tigrc
@@ -296,6 +296,9 @@ bind tree m >tig --follow -- %(file)
296 296
297bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xsel -ib -o | awk '{print \"Tree Clipped\", $1}'" 297bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xsel -ib -o | awk '{print \"Tree Clipped\", $1}'"
298 298
299bind tree c NONE
300bind tree cp +sh -c "git cat-file -p %(blob) >%(file) && echo File copied to %(file)"
301
299bind tree . >sh -c "git diff --patch-with-stat %(ref) -- %(file) | tig" 302bind tree . >sh -c "git diff --patch-with-stat %(ref) -- %(file) | tig"
300 303
301#==================== 304#====================