Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save romkatv/3e1c685ec83170ecb33267d5c7d3fe3f to your computer and use it in GitHub Desktop.
Save romkatv/3e1c685ec83170ecb33267d5c7d3fe3f to your computer and use it in GitHub Desktop.
Powerlevel10k config with Tony Lambiris's style
typeset ZLE_RPROMPT_INDENT=0
typeset POWERLEVEL9K_MODE=nerdfont-complete
typeset POWERLEVEL9K_PROMPT_ON_NEWLINE=true
typeset POWERLEVEL9K_RPROMPT_ON_NEWLINE=false
typeset POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
typeset POWERLEVEL9K_BACKGROUND=239
typeset POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_BACKGROUND=
typeset POWERLEVEL9K_{LEFT,RIGHT}_SUBSEGMENT_SEPARATOR='%F{232}\uE0BD'
typeset POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='▓▒░'
typeset POWERLEVEL9K_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='░▒▓'
typeset POWERLEVEL9K_MULTILINE_{FIRST,NEWLINE}_PROMPT_PREFIX=
typeset POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='%F{172}➜ '
typeset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon host dir dir_writable vcs)
typeset POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status background_jobs command_execution_time time)
typeset POWERLEVEL9K_OS_ICON_FOREGROUND=212
typeset POWERLEVEL9K_{SSH,HOST}_ICON='\uF109'
typeset POWERLEVEL9K_HOST_FOREGROUND=123
typeset POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
typeset POWERLEVEL9K_DIR_FOREGROUND=158
typeset POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION=
typeset POWERLEVEL9K_VCS_LOADING_FOREGROUND=244
typeset POWERLEVEL9K_VCS_CLEAN_FOREGROUND=010
typeset POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=011
typeset POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND=011
typeset POWERLEVEL9K_STATUS_VERBOSE=true
typeset POWERLEVEL9K_STATUS_CROSS=true
typeset POWERLEVEL9K_STATUS_OK_FOREGROUND=green
typeset POWERLEVEL9K_STATUS_ERROR_FOREGROUND=red
typeset POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=123
typeset POWERLEVEL9K_BACKGROUND_JOBS_ICON='\uF013'
typeset POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=0
typeset POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=1
typeset POWERLEVEL9K_TIME_ICON='\uF017'
typeset POWERLEVEL9K_TIME_FOREGROUND=183

Powerlevel10k config with Tony Lambiris's style

If you want your prompt to look like Tony Lambiris's but without the lag and bugs of Powerlevel9k, this config is for you.

Tony Lambris's Prompt

Ported from tonylambiris/dotfiles/dot.zshrc.

Installation

  1. Install Powerlevel10k.
git clone https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc

If you are using a plugin manager, see alternative installation options.

  1. Download p10k-tony-lambiris.zsh and source it from your ~/.zshrc.
curl -fsSL https://gist.githubusercontent.com/romkatv/3e1c685ec83170ecb33267d5c7d3fe3f/raw/p10k-tony-lambiris.zsh -o ~/p10k-tony-lambiris.zsh
echo 'source ~/p10k-tony-lambiris.zsh' >>! ~/.zshrc
@Hebgbs
Copy link

Hebgbs commented Jul 3, 2019

Dope. Checked it out, works exactly as it does on the tin. Not that I was asking about having his entire style, but this does show me how to do certain things from it I wanted.

Thanks man. If there isn't anything else you can close the issue. (Or I can but I am not sure if you're waiting on tony's response there.)

@romkatv
Copy link
Author

romkatv commented Jul 3, 2019

Thanks for verifying that it works. I'm closings the issue then. If Tony asks for changes in the gist, I'll address them there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment