mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 13:21:29 +00: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 a new issue