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