mirror of
https://github.com/jarun/nnn.git
synced 2024-11-23 19:31:28 +00:00
-n instead of -z
parent
777a99f107
commit
4c2a0d074f
|
@ -67,7 +67,7 @@ do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
"C-r")
|
"C-r")
|
||||||
name="$(dmenu -p "rename $file to: ")" 2> /dev/null
|
name="$(dmenu -p "rename $file to: ")" 2> /dev/null
|
||||||
if ! [ -z "$name" ]; then
|
if [ -n "$name" ]; then
|
||||||
mv "$file" "$name"
|
mv "$file" "$name"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue