summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-10-18 21:19:30 +0800
committertypebrook <typebrook@gmail.com>2019-10-18 21:19:30 +0800
commit0c0e473eb3bd437b735ec3dc714c2217efb0034b (patch)
tree06a451183981f77aa31e2cf828bf18a9419e040f
parentce85a716d697bcf8e82452bdb050d7e9fe37692d (diff)
update
-rw-r--r--alias2
-rw-r--r--tigrc1
2 files changed, 2 insertions, 1 deletions
diff --git a/alias b/alias
index 334603f..db53c20 100644
--- a/alias
+++ b/alias
@@ -71,7 +71,7 @@ alias g='git'
71alias gc='git clone' 71alias gc='git clone'
72alias gc1='git clone --depth=1' 72alias gc1='git clone --depth=1'
73alias gls='git log -S' 73alias gls='git log -S'
74alias cdgs='cd `git submodule status | sed 's/^.//' | cut -d" " -f2`' # cd to first submodule 74alias cdgs='cd $(git submodule status | sed 's/^.//' | cut -d' ' -f2)' # cd to first submodule
75 75
76# docker 76# docker
77alias dp='docker ps' 77alias dp='docker ps'
diff --git a/tigrc b/tigrc
index 3c54c5c..f77ce34 100644
--- a/tigrc
+++ b/tigrc
@@ -182,6 +182,7 @@ bind main UV >sh -c "git remote -vv | tig"
182bind main Ua @git remote add "%(prompt New remote name: )" "%(prompt Remote url: )" 182bind main Ua @git remote add "%(prompt New remote name: )" "%(prompt Remote url: )"
183bind main U! @git remote remove "%(prompt Remove which remote?: )" 183bind main U! @git remote remove "%(prompt Remove which remote?: )"
184bind main Us @git remote set-url "%(prompt Set url for which remote?: )" "%(prompt New url: )" 184bind main Us @git remote set-url "%(prompt Set url for which remote?: )" "%(prompt New url: )"
185bind main Uf ?git fetch "%(prompt Fetch from which remote?: )"
185 186
186# note 187# note
187#bind generic gnn !git notes edit %(commit) 188#bind generic gnn !git notes edit %(commit)