1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/bash function export_variables { local util_dir=~/qmk_utils export PATH=$PATH:$util_dir export PATH=$PATH:$util_dir/dfu-programmer export PATH=$PATH:$util_dir/dfu-util-0.9-win64 export PATH=$PATH:$util_dir/flip/bin export PATH=$PATH:$util_dir/avr8-gnu-toolchain/bin export PATH=$PATH:$util_dir/gcc-arm-none-eabi/bin } export_variables