pub-solar-os/profiles/develop/zsh/functions/rnm
Timothy DeHerrera 7caae5b8bc
develop:zsh: new shell functions
* rnm: don't ever repeat yourself in the shell
* chext: easily change file extension
2020-01-05 18:36:18 -07:00

5 lines
68 B
Plaintext

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