Browse Source

Updated zshrc prompt

master
chodak166 2 weeks ago
parent
commit
def729820b
  1. 11
      .zshrc

11
.zshrc

@ -106,8 +106,8 @@ fi
# Initialize modules. # Initialize modules.
source ${ZIM_HOME}/init.zsh source ${ZIM_HOME}/init.zsh
# Override bira prompt: user@host in gray instead of green # Override bira prompt: user@host in kitty foreground gray
PS1='╭─%B%(!.%F{red]}.%F{8})%n@%m %F{blue}%~${(e)git_info[prompt]}${VIRTUAL_ENV:+" %F{green}‹${VIRTUAL_ENV:t}"}%f%b PS1='╭─%B%(!.%F{red]}.%F{#666666})%n@%m %F{blue}%~${(e)git_info[prompt]}${VIRTUAL_ENV:+" %F{green}‹${VIRTUAL_ENV:t}›"}%f%b
╰─%B%(!.#.$)%b ' ╰─%B%(!.#.$)%b '
# ------------------------------ # ------------------------------
@ -146,6 +146,13 @@ zmodload -F zsh/terminfo +p:terminfo
# }}} End configuration added by Zim install # }}} End configuration added by Zim install
#
# zsh-syntax-highlighting
#
# Use kitty foreground gray for commands instead of green
ZSH_HIGHLIGHT_STYLES[command]='fg=#666666'
# screen window naming # screen window naming
if [[ "$TERM" == screen* ]]; then if [[ "$TERM" == screen* ]]; then

Loading…
Cancel
Save