Last active
January 10, 2018 15:07
-
-
Save jlamendo/4e05506db08befb1d700 to your computer and use it in GitHub Desktop.
installer script for bash-it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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