ソースを参照

[zsh] Add warning when using zplug without gawk installed

Emmanuel Bouthenot 2 年 前
コミット
99c5523931
1 ファイル変更10 行追加0 行削除
  1. 10 0
      .zsh/config/00_zplug.zsh

+ 10 - 0
.zsh/config/00_zplug.zsh

@@ -0,0 +1,10 @@
+#
+# zplug settings
+#
+
+if [ -n "${ZPLUG_HOME}" ] ; then
+    if ! command -v gawk >/dev/null 2>&1 ; then
+        printf "[zplug] warning: gawk is not installed\n"
+    fi
+fi
+