Bash configuration files that I reuse.
If you would like to quickly duplicate my configuration, execute the one-line command below.
here="$(pwd)"; path="$(mktemp -d)/config-bash"; git clone "https://github.com/possior/config-bash" "$path"; cd "$path"; bash "installer.sh"; cd "$here"; rm -rf "$path"Clone this project at your desired path ($path). Ensure that the path ($path) is empty and ready for cloning a GitHub repository.
git clone "https://github.com/possior/config-bash.git" "$path"Change the working directory to the repository. This is crucial, because the installer only functions inside the repository.
cd "$path"Specify the specific version ($version) you would like to install, or skip this step to install the default configuration.
git checkout $versionExecute the installer, and follow its instruction.
bash "installer.sh"