mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 23:30:08 +00:00
archlinux: fix pacweb with non-English locales (#8916)
This commit is contained in:
parent
0a456cb340
commit
e675c821f2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue