浏览代码

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

Zhong Lufan 4 年之前
父节点
当前提交
e675c821f2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
   function pacweb() {
     pkg="$1"
-    infos="$(pacman -Si "$pkg")"
+    infos="$(LANG=C pacman -Si "$pkg")"
     if [[ -z "$infos" ]]; then
       return
     fi