comparison .shell.d/99.prompt.zsh @ 389:2dd040318107

prompt: simplify prompt more when tramp is probably in use
author Augie Fackler <raf@durin42.com>
date Tue, 15 Mar 2016 10:44:10 -0400
parents 491cd0cedeee
children 7e8603e0a822
comparison
equal deleted inserted replaced
388:c35759aceed4 389:2dd040318107
68 # http://www.emacswiki.org/emacs/TrampMode 68 # http://www.emacswiki.org/emacs/TrampMode
69 unsetopt zle 69 unsetopt zle
70 unsetopt prompt_cr 70 unsetopt prompt_cr
71 unsetopt prompt_subst 71 unsetopt prompt_subst
72 unfunction preexec 72 unfunction preexec
73 PS1='$ '
74 RPS1=''
73 else 75 else
74 autoload -Uz async && async 76 autoload -Uz async && async
75 async_start_worker durin42_prompt -u -n 77 async_start_worker durin42_prompt -u -n
76 async_register_callback durin42_prompt right_prompt_results 78 async_register_callback durin42_prompt right_prompt_results
77 79