Oh-my-bash MacOSX iTerm and stuff

Share on:

I decided to up my command line game. I do acknowledge that there are tons of different ways on doing things, especially when you have to deal with the command line. So don't shoot the pianist.

Step 0: I do use brew Use brew to manage a lot of command line tools ,gui apps. You can find it here. I also occasionally use, CakeBrew (just to check on deps)

Step 1 : Upgrade my bash on macOSX Mostly I do follow the instructions as posted here.

Add the new shell to the list of allowed shells

1sudo bash -c _echo
2/usr/local/bin/bash >> /etc/shells_ # Change to the new shell chsh -s
3/usr/local/bin/bash

Step 3 : Install Oh-my-bash I do like Oh-my-bash (Set of extensions and plug-ins**.** You can install it if you do the following :

1bash -c "$(curl -fsSL
2https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"

Step 4: Activate oh-my-bash on your .bash_profile' Since .bash_profile'is picked first you should make sure that ./bashrc is also sourced. I added this line at the end of my .bash_profile'

1source ~/.bashrc

Step 5: Activate some handy plugins using oh-my-bash Edit ~/.bashrc_ and find the section with the extensions. Currently, I have the following activated:

1completions=( awscli git composer ssh )
2plugins=( aws git bashmarks )
3