add some branding to your favourite work environment. your shell.
this font & zsh configuration adds the reply logo to the available unicode characters.
in order to take advantage of the configuration settings that come along with the patched font you will need to have the zsh shell and oh-my-zsh installed
brew install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
install the fonts with the patched reply logo from the vendor/nerdfont
directory.
you can find the original font compilation under https://github.com/ryanoasis/nerd-fonts
only the regular font file has been patched. the italic and bold version are in their vanilla states!
we used birdfont to patch the logo in. the code point is encoded as \U+FD50
.
i should have used one of the private use areas though. if one of you finds the time to relocate the font to those ranges, a pull request will be appreciated.
e.g. the configuration settings for iterm2
brew install sambadevi/powerlevel9k/powerlevel9k
this repo contains a zshrc
file which contains preconfigured, helpful configuration, check it out.
TL;DR - i like what i see in the picture ;-)
enter following line to append the content of the zshrc
file to your config.
cat zshrc >> ~/.zshrc
# this will display the forerunner without prompting a newline
POWERLEVEL9K_CUSTOM_OPENREPLY="echo -n '\ufd50'"
# the color of the forerunner
POWERLEVEL9K_CUSTOM_OPENREPLY_FOREGROUND="black"
# change this to your reply companies color approximation
# e.g. see this site for valid options https://jonasjacek.github.io/colors/
POWERLEVEL9K_CUSTOM_OPENREPLY_BACKGROUND="aquamarine1"
# this is optional. configure it as you see fit. we preconfigured python virtuelenv to be displayed when activated.
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status virtualenv ip battery)
# the only important part here is the custom_openreply section. the others are optional.
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(custom_openreply custom_awsprofile ssh dir vcs)
see the powerline repository for additional configuration options.