+ PS2 now unique to prevent confusion

+ Added custom python prompt theme
This commit is contained in:
ziro 2020-11-07 06:57:37 +07:00
parent e28d71ce14
commit 34a791751c
4 changed files with 8 additions and 2 deletions

View file

@ -42,6 +42,7 @@ export ADB_VENDOR_KEY="$XDG_CONFIG_HOME/android"
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
export PYTHONSTARTUP="${XDG_CONFIG_HOME:-$HOME/.config}/python/pyrc"
# Path to your oh-my-zsh installation.
export ZSH="${XDG_DATA_HOME:-$HOME/.local/share}/oh-my-zsh"

View file

@ -27,7 +27,7 @@ function zle-line-init zle-keymap-select {
PS1="
%B%F{blue}%~ \$vcs_info_msg_0_
%F{green}${${KEYMAP/vicmd/N }/(main|viins)/}$>%f%b "
PS2=$PS1
PS2="%B%F{blue}?>%f%b "
# RPS1="${${KEYMAP/vicmd/-- NORMAL --}/(main|viins)/-- INSERT --}"
# RPS2=$RPS1
zle reset-prompt