I'm spending my time between Mac OS and Windows, and when I go back to my Windows machine I always feel the lack of my Mac command prompt.
Almost a year ago Amir posted how you can get a nice command prompt on a Mac. I've always wanted a post like that, but for a Windows machine. Today I stumbled upon Babun, gave it a try and TADA! I was able to get a command prompt exactly like the one I have on my Mac.
We already have a cool prompt, try to navigate to a git repository. We want just a bit more :) Let's try a more colourful theme. Let's use the "Bullet train" theme
Execute the folowing commands
cd cd .oh-my-zsh/themes/ wget https://raw.githubusercontent.com/caiogondim/bullet-train-oh-my-zsh-theme/master/bullet-train.zsh-theme cd vim .zshrc (nano is also available by default in Babun if you prefer it to vim)
ZSH_THEME="your current theme"to
But don't despair, we will fix it :)
You need a font that supports powerline. I suggest Consolas for powerline, but any font that supports powerline should work.
Download it, double click it and select install on the dialog:
Right click on the top bar of the terminal, you should see a pop up menu, select options
In the dialog select Text on the left and then select a new font. Select Powerline Consolas or just Consolas. Press 'Ok' and 'Ok'.
Marvel at your shiny command prompt :)
Pedro is a software craftsman with over twenty years experience. Passionate about the web, distributed systems and mobile technology. Advocate of agile practices and the software craftsmanship movement. Has been key in bringing Software Craftsmanship practices into several organizations.
Member of developer groups such as: London Software Craftsmanship Community, NSCoders and Agile Barcelona. Frequent speaker on subjects such as: Software Craftsmanship, web and mobile solutions.All author posts
Software es nuestra pasión.
Somos Software Craftspeople. Construimos software bien elaborado para nuestros clientes, ayudamos a los desarrolladores a mejorar en su oficio a través de la formación, la orientación y la tutoría y ayudamos a las empresas a mejorar en la distribución de software.