summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.zshrc6
1 files changed, 5 insertions, 1 deletions
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() {