mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Update .nmv
This commit is contained in:
parent
36d86a294d
commit
002758063e
|
@ -120,7 +120,7 @@ while read -r num name; do
|
||||||
if [ ! -d "$dir" ] && ! mkdir -p "$dir"; then
|
if [ ! -d "$dir" ] && ! mkdir -p "$dir"; then
|
||||||
printf "%s: failed to create directory tree %s\n" "$0" "$dir" > /dev/stderr
|
printf "%s: failed to create directory tree %s\n" "$0" "$dir" > /dev/stderr
|
||||||
exit_status=1
|
exit_status=1
|
||||||
elif ! mv "$src" "$name"; then
|
elif ! mv -i "$src" "$name"; then
|
||||||
printf "%s: failed to rename %s to %s: %s\n" "$0" "$name" "$tmp" "$!" > /dev/stderr
|
printf "%s: failed to rename %s to %s: %s\n" "$0" "$name" "$tmp" "$!" > /dev/stderr
|
||||||
exit_status=1
|
exit_status=1
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue