Skip to content

Instantly share code, notes, and snippets.

@jlamendo
Last active January 10, 2018 15:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlamendo/4e05506db08befb1d700 to your computer and use it in GitHub Desktop.
Save jlamendo/4e05506db08befb1d700 to your computer and use it in GitHub Desktop.
installer script for bash-it
#!/usr/bin/env bash
SW_HOME="$HOME/.bash_it"
sudo apt-get install git \
&& git clone --depth=1 "https://github.com/Bash-it/bash-it.git" "${SW_HOME}" \
&& chmod +x "${SW_HOME}/install.sh" \
&& "${SW_HOME}/install.sh" --interactive
mkdir -p "${SW_HOME}/aliases" && touch "${SW_HOME}/aliases/custom.aliases.bash"
mkdir -p "${SW_HOME}/completion" && touch "${SW_HOME}/completion/custom.completion.bash"
mkdir -p "${SW_HOME}/lib/" && touch "${SW_HOME}/lib/custom.bash"
mkdir -p "${SW_HOME}/plugins/" && touch "${SW_HOME}/plugins/custom.plugins.bash"
mkdir -p "${SW_HOME}/custom/" && mkdir -p "${SW_HOME}/custom/themes/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment