mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-28 18:28:35 -05:00
nnn: update .nmv
This commit is contained in:
parent
7c2509c1c8
commit
d5b8b27fb2
@ -120,7 +120,7 @@ while read -r num name; do
|
||||
if [ ! -d "$dir" ] && ! mkdir -p "$dir"; then
|
||||
printf "%s: failed to create directory tree %s\n" "$0" "$dir" > /dev/stderr
|
||||
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
|
||||
exit_status=1
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user