diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-11-13 11:20:00 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-11-13 11:20:00 +0800 |
| commit | b3daabdeec6d8c821a76bdc27840d7628f21090d (patch) | |
| tree | 3de0d10b213318a83c703adfa2a856ffe96f062b /alias | |
| parent | 543aacda793fe360cc1d970a2888c20a1e21b1b1 (diff) | |
update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -113,7 +113,7 @@ alias pfl='pacman -Fl' | |||
| 113 | alias pqe='pacman -Qqe' | 113 | alias pqe='pacman -Qqe' |
| 114 | alias pR='sudo pacman -R' | 114 | alias pR='sudo pacman -R' |
| 115 | psi() { | 115 | psi() { |
| 116 | pqe | grep $1 >/dev/null && echo -e "$(tput setaf 13)[Installed]$(tput sgr0)" | 116 | [[ $(pacman -Qqe $1) != '' ]] 2>/dev/null && echo -e "$(tput setaf 13)[Installed]$(tput sgr0)" |
| 117 | pacman -Si $1 | 117 | pacman -Si $1 |
| 118 | } | 118 | } |
| 119 | 119 | ||