/scripts

Miscellaneous Bash and Python scripts

Primary LanguageShell

scripts

Miscellaneous Bash and Python scripts

Installation

$ 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).

Tested on

  • Ubuntu Trusty (64-bit) + Bash 4.3.11(1)-release
  • Windows 7 (64-bit) + MSYS2 + Bash 4.3.33(3)-release
  • Windows 7 (64-bit) + Cygwin + Bash 4.3.33(1)-release
  • Windows 10 (64-bit) + WSL + Ubuntu 16.04 + Bash 4.3.11(1)-release
  • Windows 10 (64-bit) + WSL + Debian 10 Buster + Bash 5.0.3(1)-release