apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
and then you change your shell to zsh
chsh -s `which zsh`
and then restart
sudo shutdown -r 0
This problem is explained in depth in this issue
wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
Then you need to move the font to your fonts directory, /usr/share/fonts/ or /usr/local/share/fonts as follows or you can get the valid font paths by using command xset q.
mv PowerlineSymbols.otf /usr/share/fonts/
Next, you need to update your system’s font cache as follows.
fc-cache -vf /usr/share/fonts/
Now install the fontconfig file.
mv 10-powerline-symbols.conf /etc/fonts/conf.d/