-n instead of -z

Toni Jarjour 2020-09-12 19:12:32 -04:00
parent 777a99f107
commit 4c2a0d074f

@ -67,7 +67,7 @@ do
case "$1" in
"C-r")
name="$(dmenu -p "rename $file to: ")" 2> /dev/null
if ! [ -z "$name" ]; then
if [ -n "$name" ]; then
mv "$file" "$name"
fi
;;