aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2021-11-13 11:20:00 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2021-11-13 11:20:00 +0800
commitb3daabdeec6d8c821a76bdc27840d7628f21090d (patch)
tree3de0d10b213318a83c703adfa2a856ffe96f062b /alias
parent543aacda793fe360cc1d970a2888c20a1e21b1b1 (diff)
update
Diffstat (limited to 'alias')
-rw-r--r--alias2
1 files changed, 1 insertions, 1 deletions
diff --git a/alias b/alias
index ff4347f..9414752 100644
--- a/alias
+++ b/alias
@@ -113,7 +113,7 @@ alias pfl='pacman -Fl'
113alias pqe='pacman -Qqe' 113alias pqe='pacman -Qqe'
114alias pR='sudo pacman -R' 114alias pR='sudo pacman -R'
115psi() { 115psi() {
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