Fixing UNIX Commands After OSX 10.8 Updates can be pathetic as there are definite missing packages, packages with no more support etc. Here is how to fix them. I am using UNIX commands probably for a decade. The errors I got and the painful process I had to follow, I am quite sure, a new developer will get fatigued quite easily. The history behind fixing UNIX Commands After OSX 10.8 Updates is not glorious, I started to see the output errors like a newbie !
Fixing UNIX Commands After OSX 10.8 Updates : Why this is a must
Fixing UNIX Commands After OSX 10.8 Updates is a must, you can not even use well known brew command. Now you can imagine the pain while using Cloud Server From Mac OS X Using iTerm or using git or at worse, you can not customize iTerm2 with Color Schemes, Syntax Highlighting, or may be they will not work. You can not install WordPress with command line locally. Probably you have understood the magnitude of the problem. But unfortunately, the steps can be painful. I am writing the story of how you can get all the things back without writing about the pain !
One important thing, iTerm2 has been used here as I do not use that pathetic Microsoft Windows CMD looking Terminal.
Fixing UNIX Commands After OSX 10.8 Updates : Steps
First the major thing you will need is to get back the brew command. As fortunately Ruby, curl etc. by default works, you have to install HomeBrew :
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
Do not try to understand it, you will forget what you were doing. Normally we all have Mac Vim, if its already installed before or got not working, uninstall it and get the right one :
Now go to Apple developers portal and download and install the latest version of command line tool for XCode. I am not giving link as they will update it. This is a must step.
Now close any iTerm2 Window and freshly start iTerm2. Install tmux :
brew install tmux
Unfortunately, it will itself need a fix to get like this with highlighting :
Normally, all advanced users uses zsh, not bash. If you have used ago uninstall it first, else just run it :
brew install zsh
Python is important for me, else you can skip it, uninstall if Python was installed before, then run this :
brew install python --framework
This command changes bash shell to zsh :
chsh -s /bin/zsh && sudo chsh -s /bin/zsh abhishekghosh
Change your user name with abhishekghosh.
If you type bash and hit enter / return, you will be using bash. Easy. To get colors and syntax highlighting, run this :
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
There are many funky things we usually love in black screen. You will get them GitHub.