diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-01-18 22:33:43 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-01-18 22:33:43 +0800 |
| commit | b710371ded285af3db9f7227cc4d5d0664d0b6e0 (patch) | |
| tree | 8e8155f17a0e7e5c3d6dcadf54e67da3c30fa1f0 | |
| parent | 54f69e463f2e8e890b6d09799d669b9e6e4363a4 (diff) | |
update
| -rw-r--r-- | alias | 13 |
1 files changed, 4 insertions, 9 deletions
| @@ -99,13 +99,6 @@ file.size() { | |||
| 99 | }' | 99 | }' |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | # package | ||
| 103 | alias ai='sudo apt install' # apt install | ||
| 104 | alias aptu='sudo apt update && sudo apt upgrade' | ||
| 105 | alias si='sudo snap install' # snap install | ||
| 106 | alias pi='sudo pip3 install' # python install | ||
| 107 | alias ni='sudo npm install -g' # nodejs install | ||
| 108 | |||
| 109 | # pacman | 102 | # pacman |
| 110 | alias pac='sudo pacman -S' # pacman install | 103 | alias pac='sudo pacman -S' # pacman install |
| 111 | alias psy='sudo pacman -Syy' | 104 | alias psy='sudo pacman -Syy' |
| @@ -117,7 +110,9 @@ alias pss='pacman -Ss' | |||
| 117 | alias yss='yay -Ss' | 110 | alias yss='yay -Ss' |
| 118 | alias pqi='pacman -Qi' | 111 | alias pqi='pacman -Qi' |
| 119 | alias pql='pacman -Qlq' | 112 | alias pql='pacman -Qlq' |
| 120 | alias pqlg='pacman -Qlq | grep bin' | 113 | pqlg() { |
| 114 | pacman -Qlq $1 | grep bin | ||
| 115 | } | ||
| 121 | alias yql='yay -Ql' | 116 | alias yql='yay -Ql' |
| 122 | alias pf='pacman -F' | 117 | alias pf='pacman -F' |
| 123 | alias yf='yay -F' | 118 | alias yf='yay -F' |
| @@ -141,7 +136,7 @@ alias cdd='cd ~/Downloads' | |||
| 141 | alias cdD='cd ~/Documents' | 136 | alias cdD='cd ~/Documents' |
| 142 | alias cdP='cd ~/Pictures' | 137 | alias cdP='cd ~/Pictures' |
| 143 | alias cdV='cd ~/Videos' | 138 | alias cdV='cd ~/Videos' |
| 144 | alias cdb='cd ~/git/bashblog' | 139 | alias cdb='cd ~/git/blog' |
| 145 | alias cdmd='cd ~/git/map/deploy' | 140 | alias cdmd='cd ~/git/map/deploy' |
| 146 | 141 | ||
| 147 | # git | 142 | # git |