new line so that aliases are appended on new lines

This commit is contained in:
agu3rra 2024-02-16 17:38:49 -03:00
parent 561ea090cb
commit cb3afa018b

View File

@ -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