mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-29 00:10:12 +08:00
archlinux: fix pacweb with non-English locales (#8916)
This commit is contained in:
parent
0a456cb340
commit
e675c821f2
@ -208,7 +208,7 @@ function pacmansignkeys() {
|
||||
if (( $+commands[xdg-open] )); then
|
||||
function pacweb() {
|
||||
pkg="$1"
|
||||
infos="$(pacman -Si "$pkg")"
|
||||
infos="$(LANG=C pacman -Si "$pkg")"
|
||||
if [[ -z "$infos" ]]; then
|
||||
return
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user