mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-10 07:10:31 +00:00
new line so that aliases are appended on new lines
This commit is contained in:
parent
561ea090cb
commit
cb3afa018b
2
setup.sh
2
setup.sh
@ -25,7 +25,7 @@ for config_file in "${config_files[@]}"; do
|
|||||||
echo "Updated alias for $cmd in $config_file."
|
echo "Updated alias for $cmd in $config_file."
|
||||||
else
|
else
|
||||||
# If not, add the alias to the config file
|
# If not, add the alias to the config file
|
||||||
echo "alias $cmd='$CMD_PATH'" >> "$config_file"
|
echo -e "\nalias $cmd='$CMD_PATH'" >> "$config_file"
|
||||||
echo "Added alias for $cmd to $config_file."
|
echo "Added alias for $cmd to $config_file."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user