Skip to content

OpenReplyDE/zsh-forerunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reply branded nerd font / powerline theme

add some branding to your favourite work environment. your shell.

this font & zsh configuration adds the reply logo to the available unicode characters.

screenshot of the console

🔌 prerequisites

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)"

1️⃣ install the patched nerdfont-complete font with the reply logo

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.

2️⃣ change your terminal settings to the new font

e.g. the configuration settings for iterm2

screenshot of iterm preferences

3️⃣ install the powerlevel9k theme via homebrew

brew install sambadevi/powerlevel9k/powerlevel9k

🆙 append the powerlevel zsh configuration to your own .zshrc file

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

🛠 some customization options

# 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.

About

a branded powerlevel9k theme adaption for zsh

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages