Remove RPROMPT
Causes weird problems over SSH.
This commit is contained in:
parent
c65c9e9659
commit
a8c42bc706
@ -99,9 +99,9 @@ function prompt_ianonavy_setup {
|
||||
|
||||
# Define prompts.
|
||||
PROMPT="
|
||||
${user}${host} ${current_path} $time${_prompt_ianonavy_colors[1]}"'${python_info[virtualenv]}'""'${git_info[prompt]}'"
|
||||
${user}${host} ${current_path} $time${_prompt_ianonavy_colors[1]}"'${python_info[virtualenv]}'""'${git_info[prompt]}'""%(?..${_prompt_ianonavy_colors[3]}%? ↵%f)"
|
||||
${promptcolor}"'${editor_info[keymap]}'"${_prompt_ianonavy_nocolor} "
|
||||
RPROMPT='%(?..${_prompt_ianonavy_colors[3]}%? ↵%f)'
|
||||
RPROMPT=''
|
||||
SPROMPT='zsh: correct ${_prompt_ianonavy_colors[3]}%R${_prompt_ianonavy_nocolor} to ${_prompt_ianonavy_colors[2]}%r${_prompt_ianonavy_nocolor} [nyae]? '
|
||||
}
|
||||
|
||||
|
@ -20,4 +20,4 @@ if (( $+commands[fortune] )); then
|
||||
print
|
||||
fi
|
||||
|
||||
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
|
||||
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx || exit 0
|
||||
|
@ -5,10 +5,3 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# Print the message.
|
||||
cat <<-EOF
|
||||
|
||||
Thank you. Come again!
|
||||
-- Dr. Apu Nahasapeemapetilon
|
||||
EOF
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user