aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-05-31 22:42:55 +0800
committertypebrook <typebrook@gmail.com>2020-05-31 22:42:55 +0800
commitd7de55583b8817224dcd45cb3f628453a19102a8 (patch)
tree4036b7b01887a6b4d589a6c4a2fc4ebc65db3e66
parent471ef06e26694d822fc595ed640dddc0ffcd8b83 (diff)
update
-rw-r--r--alias3
-rw-r--r--tigrc2
2 files changed, 3 insertions, 2 deletions
diff --git a/alias b/alias
index f80040a..0183109 100644
--- a/alias
+++ b/alias
@@ -37,7 +37,7 @@ alias path="echo $PATH"
37alias fd="echo /proc/$$/fd; ls -l /proc/$$/fd" 37alias fd="echo /proc/$$/fd; ls -l /proc/$$/fd"
38alias src="source $HOME/.$(basename $SHELL)rc" 38alias src="source $HOME/.$(basename $SHELL)rc"
39alias ll='ls -alh' 39alias ll='ls -alh'
40llw() { ll $(which $1); } 40llw() { which $1 | xargs ls -alh; }
41alias hg='history | grep' 41alias hg='history | grep'
42alias rmrf='rm -rf' 42alias rmrf='rm -rf'
43alias rr='_move_to_tmp' 43alias rr='_move_to_tmp'
@@ -72,6 +72,7 @@ alias pqi='pacman -Qi'
72alias pql='pacman -Ql' 72alias pql='pacman -Ql'
73alias pf='pacman -F' 73alias pf='pacman -F'
74alias pfl='pacman -Fl' 74alias pfl='pacman -Fl'
75alias ys='yay -S'
75alias ysi='yay -Si' 76alias ysi='yay -Si'
76 77
77# cd to DIRs 78# cd to DIRs
diff --git a/tigrc b/tigrc
index 8ee47f3..870bf3e 100644
--- a/tigrc
+++ b/tigrc
@@ -99,7 +99,7 @@ bind main 1 +sh -c "git rev-list --all --children | \
99bind main b none 99bind main b none
100bind main bn @git branch "%(prompt Enter branch name: )" %(commit) 100bind main bn @git branch "%(prompt Enter branch name: )" %(commit)
101bind main bN @git branch %(branch) --track %(remote)/%(branch) 101bind main bN @git branch %(branch) --track %(remote)/%(branch)
102bind main bu @git branch --set-upstream-to="%(prompt Set remote: )"/%(branch) %(branch) 102bind main bu !git branch --set-upstream-to="%(prompt Set remote: )"/%(branch) %(branch)
103bind main bU @git branch --set-upstream-to="%(prompt Set remote/branch: )" %(branch) 103bind main bU @git branch --set-upstream-to="%(prompt Set remote/branch: )" %(branch)
104bind main bc @git checkout -b "%(prompt Checkout at new branch: )" %(commit) 104bind main bc @git checkout -b "%(prompt Checkout at new branch: )" %(commit)
105bind generic bd @git branch -d "%(prompt Delete branch: )" 105bind generic bd @git branch -d "%(prompt Delete branch: )"