aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-06-06 10:06:06 +0800
committertypebrook <typebrook@gmail.com>2020-06-06 10:06:06 +0800
commit10ec0e5bd541e3d1f84adb84b4a19f9c7a61ab01 (patch)
treeb64f832fc99d9e344c12f25a9fc2b82f6aaddca3
parent190da0fb3fd6ce8f29ea7b0a4e8c7efe6510376c (diff)
update
-rw-r--r--tigrc2
-rwxr-xr-xtools/misc/sync-gist.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tigrc b/tigrc
index 89b1b8f..00b02fc 100644
--- a/tigrc
+++ b/tigrc
@@ -108,7 +108,7 @@ bind generic bD ?>git branch -D "%(prompt Delete branch anyway: )"
108bind main bbD ?>git branch -D %(branch) 108bind main bbD ?>git branch -D %(branch)
109bind main brd ?git branch -rd %(remote)/%(branch) 109bind main brd ?git branch -rd %(remote)/%(branch)
110bind main bv +sh -c "git branch -vv | grep %(branch)" 110bind main bv +sh -c "git branch -vv | grep %(branch)"
111bind main bV !sh -c "git branch -vv" 111bind main bV >sh -c "git branch -vv | tig"
112bind main bm @git branch -m %(branch) "%(prompt New branch name: )" 112bind main bm @git branch -m %(branch) "%(prompt New branch name: )"
113bind main bM @git branch --force "%(prompt Move which branch to here? )" %(commit) 113bind main bM @git branch --force "%(prompt Move which branch to here? )" %(commit)
114bind main c @sh -c "git branch --points-at=%(commit) | \ 114bind main c @sh -c "git branch --points-at=%(commit) | \
diff --git a/tools/misc/sync-gist.sh b/tools/misc/sync-gist.sh
index 1208fe2..86cca04 100755
--- a/tools/misc/sync-gist.sh
+++ b/tools/misc/sync-gist.sh
@@ -13,7 +13,7 @@ while read -r commit; do
13 13
14 cd ~/git/Bash-Snippets 14 cd ~/git/Bash-Snippets
15 cp $repo/gist gist/gist 15 cp $repo/gist gist/gist
16 git add gist/gist && git commit -m "$message" 16 git add gist/gist && git commit -m "$message" || true
17done 17done
18 18
19cd $repo 19cd $repo