This repository contains my sensible defaults for bash.
The contents of this repository should be placed in your $HOME/.config
.
git clone --recurse-submodules https://github.com/dotbrains/bash.git $HOME/.config/bash
In your $HOME
directory you would want a .bashrc
that contains:
#!/bin/bash
[ -n "$PS1" ] \
&& . ~/.config/bash/bash_profile \
&& . ~/.bash.local # For local settings that should not be under version control.
The code is available under the MIT license.