Skip to content

Instantly share code, notes, and snippets.

@mariotinoco
Last active October 22, 2024 15:32
Show Gist options
  • Select an option

  • Save mariotinoco/b58d6c129d076a0d67775f69f8fd2009 to your computer and use it in GitHub Desktop.

Select an option

Save mariotinoco/b58d6c129d076a0d67775f69f8fd2009 to your computer and use it in GitHub Desktop.

iTerm2

Install theme

  • install theme powerlevel10k#oh-my-zsh
  • start new terminal after updating ZSH_THEME="powerlevel10k/powerlevel10k" in ~/.zshrc
  • follow wizard choices

Install plugins

ZSH_THEME="powerlevel10k/powerlevel10k"
...
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=27,bold,underline"
...
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

iTerm2 Suggested Tweaks

  • Appearance > Dimming > Dimming ammount = 10
  • Appearance > Panes > Side margins = 10
  • Appearance > Panes > Top & bottom margins = 10
  • Profiles > Default > Terminal > Show mark indicators = false
  • Profiles > Default > Terminal > Scrollback lines = 8000

P10K Suggested Tweaks

# ~/.p10k.zsh
# ...

  typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=yellow
  typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=red
  typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIINS_CONTENT_EXPANSION=''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment