]> Sergey Matveev's repositories - zsh-autoenv.git/commitdiff
Use 'command cat'
authorDaniel Hahler <git@thequod.de>
Thu, 27 Aug 2015 20:57:56 +0000 (22:57 +0200)
committerDaniel Hahler <git@thequod.de>
Thu, 27 Aug 2015 20:57:58 +0000 (22:57 +0200)
Ref: https://github.com/Tarrasch/zsh-autoenv/pull/35#discussion_r38145031

autoenv.zsh

index 0c58f34e7ae18d7dfb6b3db1c1c2ad5425270d9c..d33bf8545f400cfbcfa56c5b05cb69d1cfe6b166 100644 (file)
@@ -227,7 +227,7 @@ _autoenv_check_authorized_env_file() {
     echo "" >&2
     echo "**********************************************" >&2
     echo "" >&2
-    cat $1 >&2
+    command cat $1 >&2
     echo "" >&2
     echo "**********************************************" >&2
     echo "" >&2