From b64a37a2d575ac8dfa691fca1d90a82834bb865d Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 2 Nov 2015 15:39:55 -0500 Subject: Newline before prompt and start at bottom of terminal --- .zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index ce6d6d82..d8a3ffbe 100644 --- a/.zshrc +++ b/.zshrc @@ -36,9 +36,13 @@ _prompt_git_branch() { ;; esac } -PROMPT='%{%(?.$fg[green]$_prompt_ssh_color.$fg[red])%}»%{$reset_color%} ' +PROMPT=' +%{%(?.$fg[green]$_prompt_ssh_color.$fg[red])%}»%{$reset_color%} ' RPROMPT='%{$fg[blue]%}%-50<…<%~%{$fg[yellow]%}$(_prompt_git_branch)%{$reset_color%}' +# Place first prompt at bottom of window. +tput cup "$(($LINES - 2))" + # Set title to directory name at prompt, prefixed with hostname over SSH. Add # current command to title while running. _title() { -- cgit 1.4.1