Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
8a43d358
Commit
8a43d358
authored
Aug 01, 2014
by
Nico Revin
Browse files
fix paclist() for non-english locales
parent
1b7a3ea9
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/archlinux/archlinux.plugin.zsh
View file @
8a43d358
...
...
@@ -55,7 +55,7 @@ alias pacmir='sudo pacman -Syy' # Force refresh of all package li
# https://bbs.archlinux.org/viewtopic.php?id=93683
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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment