From 7fd7bc261bbb9953798676ac3ccac3d1de197d6a Mon Sep 17 00:00:00 2001 From: xinyz Date: Mon, 27 Dec 2021 17:31:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9zsh=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E7=AC=A6=EF=BC=8C=E6=94=AF=E6=8C=81=E6=9C=AC=E5=9C=B0zshenv?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/zshenv | 1 + zsh/zshrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/zsh/zshenv b/zsh/zshenv index 8829b2d..b556ef3 100644 --- a/zsh/zshenv +++ b/zsh/zshenv @@ -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 diff --git a/zsh/zshrc b/zsh/zshrc index 264f235..f40faed 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -64,7 +64,7 @@ export KEYTIMEOUT=1 # | PROMPT | # +--------+ -export PROMPT='%F{blue}(%n)%f %~ %# ' +export PROMPT='%F{blue}(%n@%m)%f %~ %(!.#.$) ' # +-----------------+ # | auto-suggestion |