1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-06-26 10:00:11 +03:00

Use shorter echo for newlines

This commit is contained in:
Daniel Hahler 2015-08-27 22:58:35 +02:00
parent 54b89914ff
commit fadddf6502

View File

@ -224,13 +224,13 @@ _autoenv_check_authorized_env_file() {
if ! _autoenv_authorized_env_file $1; then if ! _autoenv_authorized_env_file $1; then
echo "Attempting to load unauthorized env file!" >&2 echo "Attempting to load unauthorized env file!" >&2
command ls -l $1 >&2 command ls -l $1 >&2
echo "" >&2 echo >&2
echo "**********************************************" >&2 echo "**********************************************" >&2
echo "" >&2 echo >&2
command cat $1 >&2 command cat $1 >&2
echo "" >&2 echo >&2
echo "**********************************************" >&2 echo "**********************************************" >&2
echo "" >&2 echo >&2
echo -n "Would you like to authorize it? (type 'yes') " >&2 echo -n "Would you like to authorize it? (type 'yes') " >&2
# echo "Would you like to authorize it?" # echo "Would you like to authorize it?"
# echo "('yes' to allow, 'no' to not being asked again; otherwise ignore it for the shell) " # echo "('yes' to allow, 'no' to not being asked again; otherwise ignore it for the shell) "