]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - autoenv.zsh
Use shorter echo for newlines
[zsh-autoenv.git] / autoenv.zsh
index 0c58f34e7ae18d7dfb6b3db1c1c2ad5425270d9c..0f499f5e9228e3cd2e9455ae61923a47e1043706 100644 (file)
@@ -224,13 +224,13 @@ _autoenv_check_authorized_env_file() {
   if ! _autoenv_authorized_env_file $1; then
     echo "Attempting to load unauthorized env file!" >&2
     command ls -l $1 >&2
-    echo "" >&2
+    echo >&2
     echo "**********************************************" >&2
-    echo "" >&2
-    cat $1 >&2
-    echo "" >&2
+    echo >&2
+    command cat $1 >&2
+    echo >&2
     echo "**********************************************" >&2
-    echo "" >&2
+    echo >&2
     echo -n "Would you like to authorize it? (type 'yes') " >&2
     # echo "Would you like to authorize it?"
     # echo "('yes' to allow, 'no' to not being asked again; otherwise ignore it for the shell) "