[rename] script
This commit is contained in:
parent
bbce42908f
commit
7c58e51139
2 changed files with 9 additions and 0 deletions
7
.config/scriptrc/rename.sh
Normal file
7
.config/scriptrc/rename.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
function rename() {
|
||||||
|
for file in $@; do
|
||||||
|
open $file
|
||||||
|
read newname
|
||||||
|
mv $file $newname
|
||||||
|
done
|
||||||
|
}
|
2
.zshrc
2
.zshrc
|
@ -223,3 +223,5 @@ if [ -d "$HOME/.config/scriptrc" ]; then
|
||||||
source $SCRIPTFILE
|
source $SCRIPTFILE
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export STM32_PRG_PATH=/Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin
|
Loading…
Reference in a new issue