Browse Source

archlinux: fix pacweb with non-English locales (#8916)

Zhong Lufan 4 years ago
parent
commit
e675c821f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/archlinux/archlinux.plugin.zsh

+ 1 - 1
plugins/archlinux/archlinux.plugin.zsh

@@ -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