diff --git a/dotfiles/.zshenv b/dotfiles/.zshenv index 6ee3fce..70fe80d 100644 --- a/dotfiles/.zshenv +++ b/dotfiles/.zshenv @@ -4,3 +4,5 @@ export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus export TERM=screen-256color +#export PS1='%m[%*] %# ' +export PS1='[$$][%*]%# ' diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 6fd771b..83053fb 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -4,6 +4,7 @@ zstyle ':completion:*' completer _expand _complete _ignored _correct _approximat zstyle :compinstall filename '~/.zshrc' setopt INC_APPEND_HISTORY SHARE_HISTORY AUTO_PUSHD PUSHD_IGNORE_DUPS +setopt PROMPTSUBST autoload -Uz compinit compinit