Commit 8a43d358 authored by Nico Revin's avatar Nico Revin
Browse files

fix paclist() for non-english locales

parent 1b7a3ea9
...@@ -55,7 +55,7 @@ alias pacmir='sudo pacman -Syy' # Force refresh of all package li ...@@ -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'
......
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