oh-my-zsh

How to change oh-my-zsh’s terminal path color

  1. cd ~/.oh-my-zsh/themes/
  2. find *.zsh-theme that use now. In my case, agnoster.zsh-theme
  3. Change file content in prompt_dir() like …
prompt_dir() {
    prompt_segment 39d $CURRENT_FG '%~'
}

zsh theme and plug-in that using now

Install

  1. powerlevel10k
  2. zsh-autosuggestions
  3. zsh-syntax-highlighting

Configuration

  • change .zshrc file
    • theme: powerlevel10k
    • plugins: zsh-autosuggestions, zsh-syntax-highlighting, web-search