os/profiles/develop/zsh/functions/rnm

5 lines
68 B
Plaintext
Raw Normal View History

[[ -z $3 ]] || return 1
head=${1:h}
name="${head}/${2}"
mv $1 $name