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
Oh My Zsh
Commits
3e88e53e
Commit
3e88e53e
authored
Jun 05, 2015
by
Robby Russell
Browse files
Merge pull request #2999 from nicorevin/master
fix paclist() for non-english locales
parents
dac07b26
8a43d358
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/archlinux/archlinux.plugin.zsh
View file @
3e88e53e
...
...
@@ -63,7 +63,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