summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2015-11-02 15:39:55 -0500
committerJune McEnroe <programble@gmail.com>2015-11-02 15:39:55 -0500
commit2f6d92c67e1a43478969bf2d150f1a0bf246dbb3 (patch)
treebd8a73226b1e77b5b98648cac50c5c97e0420da5
parentAdd chruby to zshrc (diff)
downloadsrc-2f6d92c67e1a43478969bf2d150f1a0bf246dbb3.tar.gz
src-2f6d92c67e1a43478969bf2d150f1a0bf246dbb3.zip
Newline before prompt and start at bottom of terminal
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() {
/td> 2019-12-23Reformat music.txtJune McEnroe 2019-12-23Rename music.md to music.txtJune McEnroe 2019-12-23Add DO YOU DOUBT ME TRAITORJune McEnroe 2019-12-22Add license header to cgit CSSJune McEnroe 2019-12-22Add The Book of EttaJune McEnroe 2019-12-21Revert "Add first working version of imbox"June McEnroe 2019-12-21Add first working version of imboxJune McEnroe 2019-12-20Respect mailmap in gl pretty formatJune McEnroe 2019-12-20Set LANG in cgit filtersJune McEnroe 2019-12-20Source .editrc before applying -v or -eJune McEnroe 2019-12-20Disable signing commitsJune McEnroe 2019-12-19Ignore about-filterJune McEnroe 2019-12-19Fix matching make tags with no sourcesJune McEnroe 2019-12-19Avoid matching := assignments as tagsJune McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe 2019-12-16Post "cgit setup"June McEnroe