mirror of
https://github.com/jarun/nnn.git
synced 2024-09-11 13:06:14 +03:00
-n instead of -z
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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user