Skip to content

Commit

Permalink
Fixed Default To yes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vatsal Gupta authored and Vatsal Gupta committed May 16, 2024
1 parent 5e0f5fa commit 0e79503
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ main() {
printf "File already exists: %s\n" "$HOME/.aliases.sh"
printf "Do you want to replace it? [y/n]: "
read -r replace_confirmation
replace_confirmation="${replace_confirmation:-y}"
if [ "$replace_confirmation" = "y" ]; then
# Replace the existing file
echo "Replacing $HOME/.aliases.sh..."
Expand Down

0 comments on commit 0e79503

Please sign in to comment.