Skip to content

Instantly share code, notes, and snippets.

@hawkup
Last active May 27, 2016 02:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hawkup/89aefcea28ac58e78b32 to your computer and use it in GitHub Desktop.
Save hawkup/89aefcea28ac58e78b32 to your computer and use it in GitHub Desktop.
Install font for oh my git On ubuntu 14.04
# Copy the awesome fonts to ~/.fonts
cd /tmp
git clone http://github.com/gabrielelana/awesome-terminal-fonts
cd awesome-terminal-fonts
git checkout patching-strategy
mkdir -p ~/.fonts
cp patched/*.ttf ~/.fonts

# update the font-info cache
sudo fc-cache -fv ~/.fonts

# if above command cannot update font run this
sudo fc-cache -f -v

# and then update font in terminal by select
# Edit -> Profile Preferences -> General Tab -> not checked `Use the system fixed width font` -> selected `SourceCodePro+Powerline+Awesome Regular`

# install oh my git
git clone https://github.com/arialdomartini/oh-my-git.git ~/.oh-my-git && echo source ~/.oh-my-git/prompt.sh >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment