From cd1ce64da38fc18794e28b474401cd3b30127877 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Tue, 25 Apr 2023 15:54:03 +0300 Subject: [PATCH] [~] Refactor --- dotfiles/.zshenv | 2 ++ dotfiles/.zshrc | 1 + 2 files changed, 3 insertions(+) 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