diff --git a/.config/scriptrc/rename.sh b/.config/scriptrc/rename.sh new file mode 100644 index 0000000..9c357e4 --- /dev/null +++ b/.config/scriptrc/rename.sh @@ -0,0 +1,7 @@ +function rename() { + for file in $@; do + open $file + read newname + mv $file $newname + done +} diff --git a/.zshrc b/.zshrc index 6c1156e..26b5aa4 100755 --- a/.zshrc +++ b/.zshrc @@ -223,3 +223,5 @@ if [ -d "$HOME/.config/scriptrc" ]; then source $SCRIPTFILE done fi + +export STM32_PRG_PATH=/Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin \ No newline at end of file