Add blank line before zsh prompt
This allows to easily switch to tmux copy mode and navigate between paragraphs / prompts and results. As long as the output doesn't have additional blank lines.
This commit is contained in:
parent
1e335d2ad2
commit
d87b854c49
|
@ -53,7 +53,7 @@ nix_subshell () {
|
|||
}
|
||||
add-zsh-hook precmd nix_subshell
|
||||
|
||||
PROMPT=$'%{$fg[${prompt_color}]%}%1~ > %{$reset_color%}'
|
||||
PROMPT=$'\n%{$fg[${prompt_color}]%}%1~ > %{$reset_color%}'
|
||||
|
||||
zstyle ':completion:*:descriptions' format '%F{blue}-- %d --%f'
|
||||
zstyle ':completion:*:messages' format ' %F{purple} -- %d --%f'
|
||||
|
|
Loading…
Reference in a new issue