Skip to content

Instantly share code, notes, and snippets.

@eriktelepovsky
Last active February 15, 2019 13:38
Show Gist options
  • Save eriktelepovsky/77af485781471ec91a7a5f8a7874e3ce to your computer and use it in GitHub Desktop.
Save eriktelepovsky/77af485781471ec91a7a5f8a7874e3ce to your computer and use it in GitHub Desktop.
# PATH updates
export PATH="/usr/local/opt/ruby/bin:$PATH"
export PATH="/usr/local/opt/expat/bin:$PATH"
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
# Aliases
alias lc="colorls"
# Customise the Powerlevel9k prompts
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
virtualenv custom_apple custom_tux dir vcs newline status
)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=()
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
# Add the custom Apple icon prompt segment
POWERLEVEL9K_CUSTOM_APPLE="echo -n '\ue711'"
POWERLEVEL9K_CUSTOM_APPLE_FOREGROUND="black"
POWERLEVEL9K_CUSTOM_APPLE_BACKGROUND="white"
# Add the custom Tux prompt segment
POWERLEVEL9K_CUSTOM_TUX="echo -n '\uf31a' I love Tux"
POWERLEVEL9K_CUSTOM_TUX_FOREGROUND="white"
POWERLEVEL9K_CUSTOM_TUX_BACKGROUND="black"
# Use nerd font set
POWERLEVEL9K_MODE='nerdfont-complete'
# Apply powerlevel9k theme
source ~/powerlevel9k/powerlevel9k.zsh-theme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment