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
e675c821
Unverified
Commit
e675c821
authored
May 24, 2020
by
Zhong Lufan
Committed by
GitHub
May 23, 2020
Browse files
archlinux: fix pacweb with non-English locales (#8916)
parent
0a456cb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/archlinux/archlinux.plugin.zsh
View file @
e675c821
...
@@ -208,7 +208,7 @@ function pacmansignkeys() {
...
@@ -208,7 +208,7 @@ function pacmansignkeys() {
if
((
$+
commands[xdg-open]
))
;
then
if
((
$+
commands[xdg-open]
))
;
then
function
pacweb
()
{
function
pacweb
()
{
pkg
=
"
$1
"
pkg
=
"
$1
"
infos
=
"
$(
pacman
-Si
"
$pkg
"
)
"
infos
=
"
$(
LANG
=
C
pacman
-Si
"
$pkg
"
)
"
if
[[
-z
"
$infos
"
]]
;
then
if
[[
-z
"
$infos
"
]]
;
then
return
return
fi
fi
...
...
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