1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

fix paclist() for non-english locales

This commit is contained in:
Nico Revin 2014-08-01 23:32:38 +04:00
parent 1b7a3ea99a
commit 8a43d358c1

View file

@ -55,7 +55,7 @@ alias pacmir='sudo pacman -Syy' # Force refresh of all package li
# https://bbs.archlinux.org/viewtopic.php?id=93683 # https://bbs.archlinux.org/viewtopic.php?id=93683
paclist() { 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}' LC_ALL=C pacman -Qei $(pacman -Qu|cut -d" " -f 1)|awk ' BEGIN {FS=":"}/^Name/{printf("\033[1;36m%s\033[1;37m", $2)}/^Description/{print $2}'
} }
alias paclsorphans='sudo pacman -Qdt' alias paclsorphans='sudo pacman -Qdt'