- Por Robert Firek
- ·
- Publicado 01 Mar 2016
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 ZSH_THEME="bullet-train"
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 :)
Software es nuestra pasión.
Somos Software Craftspeople. Construimos software bien elaborado para nuestros clientes, ayudamos a los/as desarrolladores/as a mejorar en su oficio a través de la formación, la orientación y la tutoría. Ayudamos a las empresas a mejorar en la distribución de software.