new line so that aliases are appended on new lines

pull/88/head
agu3rra 7 months ago
parent 561ea090cb
commit cb3afa018b

@ -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…
Cancel
Save