Miscellaneous Bash and Python scripts
$ mkdir ~/Code
$ cd ~/Code
$ git clone https://github.com/johnmellor/scripts.git
$ scripts/setup.sh
$ echo 'source ~/Code/scripts/main.bash' >> ~/.bashrc
$ echo 'export PATH="$PATH:$HOME/Code/scripts/bin"' >> ~/.profile
(On WSL prior to build 16188, you needed to append --login
to the "Bash on Ubuntu on Windows" shortcut command line (resulting in C:\Windows\System32\bash.exe ~ --login
) or else Bash didn't source ~/.profile).