Bashstrap is a quick way to spruce up OSX terminal. It cuts out the fluff, adds in timesaving features, and provides a solid foundation for customizing your terminal style.
Faster directory navigation
- Open your current directory in Sublime Text (with just 2 characters)
- Jump directories rapidly, without having to set aliases—using Z (my favorite feature!)
- Tab bar displays your current directory
- Lots of quick shortcut aliases that I use for git and moving around directories
Customized bash prompt line
- Git branch status inline
- ☠ ahoy! An easily customizable symbol
- Stripped out extraneous text
Updated color scheme
- Colored 'ls'
- Syntax highlighted 'cat'
-
Back up your current dotfiles (optional):
mv ~/.bash_profile ~/.bash_profile_backup mv ~/.bashrc ~/.bashrc_backup mv ~/.gitconfig ~/.gitconfig_backup
-
Install Bashstrap into your home dir:
cd; curl -#L https://github.com/barryclark/bashstrap/tarball/master | tar -xzv --strip-components 1 --exclude={README.md,screenshot.png}
-
Restart terminal or iTerm.
Following these steps will make your iTerm look identical to mine in the screenshot above.
- Install iTerm.
- Turn off long tab titles: iTerm Preferences > Appearance > Windows & Tab Titles > uncheck them all
- Prettier font: iTerm Preferences > Profiles > Default > Text > Regular Font & Non-ASCII > 16pt Menlo regular
- Unbold font: iTerm Preferences > Profiles > Default > Text > Text Rendering > uncheck "Draw bold text in bold font"
- Lighter blue for the directory highlighting: iTerm Preferences > Profiles > Default > Colors > click Blue and make it lighter
- Make default window size bigger: iTerm Preferences > Profiles > Default > Window > Setting for New Windows > I like Columns: 80, Rows 28