+ PS2 now unique to prevent confusion
+ Added custom python prompt theme
This commit is contained in:
parent
e28d71ce14
commit
34a791751c
4 changed files with 8 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue