Skip to content

Commit

Permalink
minor update to replace.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
PikalaxALT committed Jul 6, 2024
1 parent ee4bc2c commit 21bd67c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion replace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ fi

git grep -w "$2" >/dev/null
if [ "$?" -eq 0 ]; then
read -p "Replacement symbol already exists. Proceed anyway? [y/N]" yn
read -p "Replacement symbol already exists. Proceed anyway? [y/N] " yn
case $yn in
[yY] )
;;
* )
echo Aborting.
exit 0 ;;
esac
fi
Expand Down

0 comments on commit 21bd67c

Please sign in to comment.