BASH

Oh-my-bash MacOSX iTerm and stuff

Photo of Paris ApostolopoulosParis ApostolopoulosMarch 12th, 2019Last Updated: March 12th, 2019
0 592 1 minute read

I decided toup my command line game, so this a ‘remember how to do stuff‘ post for me. 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 postedhere.

# Add the new shell to the list of allowed shellssudo bash -c 'echo /usr/local/bin/bash >> /etc/shells'# Change to the new shellchsh -s /usr/local/bin/bash

Step 3 : Install Oh-my-bash

I do likeOh-my-bash (Set of extensions and plug-ins. You can install it if you do the following :

bash -c “$(curl -fsSL https://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

source ~/.bashrc

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

completions=(  awscli  git  composer  ssh) plugins=(  aws  git  bashmarks)

Published on System Code Geeks with permission by Paris Apostolopoulos, partner at ourSCG program. See the original article here:Oh-my-bash MacOSX iTerm and stuff

Opinions expressed by System Code Geeks contributors are their own.

Do you want to know how to develop your skillset to become asysadmin Rockstar?
Subscribe to our newsletter to start Rockingright now!
To get you started we give you our best selling eBooks forFREE!
1. Introduction to NGINX
2. Apache HTTP Server Cookbook
3. VirtualBox Essentials
4. Nagios Monitoring Cookbook
5. Linux BASH Programming Cookbook
6. Postgresql Database Tutorial
and many more ....
I agree to theTerms andPrivacy Policy

Thank you!

We will contact you soon.

Tags
Photo of Paris ApostolopoulosParis ApostolopoulosMarch 12th, 2019Last Updated: March 12th, 2019
0 592 1 minute read
Photo of Paris Apostolopoulos

Paris Apostolopoulos

Paris is a senior software engineer focusing on J2EE development, loves Business process modelling and is keen on software quality challenges. He is passionate about Java and Java communities. He is a co-founder and administrator of the first Java User Group in greece(JHUG.gr) and occasional speaker on meet-ups and seminars and regular blogger. For his contributions and involvement on the Java community he has been awarded the title of Java Champion in 2007 by Sun Microsystems.
Subscribe
Notify of
guest
I agree to theTerms andPrivacy Policy
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.

I agree to theTerms andPrivacy Policy
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.