mirror of https://github.com/ohmyzsh/ohmyzsh.git
archlinux: fix pacweb with non-English locales (#8916)
parent
0a456cb340
commit
e675c821f2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue