From 0c0e473eb3bd437b735ec3dc714c2217efb0034b Mon Sep 17 00:00:00 2001 From: typebrook Date: Fri, 18 Oct 2019 21:19:30 +0800 Subject: update --- alias | 2 +- tigrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/alias b/alias index 334603f..db53c20 100644 --- a/alias +++ b/alias @@ -71,7 +71,7 @@ alias g='git' alias gc='git clone' alias gc1='git clone --depth=1' alias gls='git log -S' -alias cdgs='cd `git submodule status | sed 's/^.//' | cut -d" " -f2`' # cd to first submodule +alias cdgs='cd $(git submodule status | sed 's/^.//' | cut -d' ' -f2)' # cd to first submodule # docker alias 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" bind main Ua @git remote add "%(prompt New remote name: )" "%(prompt Remote url: )" bind main U! @git remote remove "%(prompt Remove which remote?: )" bind main Us @git remote set-url "%(prompt Set url for which remote?: )" "%(prompt New url: )" +bind main Uf ?git fetch "%(prompt Fetch from which remote?: )" # note #bind generic gnn !git notes edit %(commit) -- cgit v1.2.3-70-g09d2