修改zsh提示符,支持本地zshenv

This commit is contained in:
xinyz 2021-12-27 17:31:59 +08:00
parent e5c6ea85bb
commit 7fd7bc261b
2 changed files with 2 additions and 1 deletions

View file

@ -22,3 +22,4 @@ export HISTFILE="$ZDOTDIR/.zhistory" # History filepath
export HISTSIZE=10000 # Maximum events for internal history
export SAVEHIST=10000 # Maximum events in history file
test -f $ZDOTDIR/zshenv.local && . $ZDOTDIR/zshenv.local

View file

@ -64,7 +64,7 @@ export KEYTIMEOUT=1
# | PROMPT |
# +--------+
export PROMPT='%F{blue}(%n)%f %~ %# '
export PROMPT='%F{blue}(%n@%m)%f %~ %(!.#.$) '
# +-----------------+
# | auto-suggestion |