]> Sergey Matveev's repositories - zsh-autoenv.git/commitdiff
Use shorter echo for newlines
authorDaniel Hahler <git@thequod.de>
Thu, 27 Aug 2015 20:58:35 +0000 (22:58 +0200)
committerDaniel Hahler <git@thequod.de>
Thu, 27 Aug 2015 20:58:35 +0000 (22:58 +0200)
autoenv.zsh

index d33bf8545f400cfbcfa56c5b05cb69d1cfe6b166..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
+    echo >&2
     command cat $1 >&2
-    echo "" >&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) "