diff --git a/dotfiles/scripts/usernames.sh b/dotfiles/scripts/usernames.sh index ef694ae..0e639bc 100755 --- a/dotfiles/scripts/usernames.sh +++ b/dotfiles/scripts/usernames.sh @@ -2,7 +2,7 @@ folder="$(ls ~/.password-store/ | sed -e 's/\.gpg$//' | fuzzel -d -i)" -if [ -z $folder ]; +if [ -z "$folder" ]; then exit else @@ -11,7 +11,7 @@ fi choice="$(ls ~/.password-store/$folder | sed -e 's/\.gpg$//' | fuzzel -d -i)" -if [ -z $choice ]; +if [ -z "$choice" ]; then exit else