Commit 1771eec8 authored by Steven Knight's avatar Steven Knight

Removed unnecessary sudo

parent d54c53e6
function paclist function paclist
sudo pacman -Qei (pacman -Qu|cut -d" " -f 1)|awk ' BEGIN {FS=":"}/^Name/{printf("\033[1;36m%s\033[1;37m", $2)}/^Description/{print $2}' pacman -Qei (pacman -Qu|cut -d" " -f 1)|awk ' BEGIN {FS=":"}/^Name/{printf("\033[1;36m%s\033[1;37m", $2)}/^Description/{print $2}'
end end
function paclocs -d "Search for package(s) in the local database" function paclocs -d "Search for package(s) in the local database"
sudo pacman -Qs $argv pacman -Qs $argv
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment