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() {
highlight'> 2013-08-17Add vim-ragtagJune McEnroe 2013-06-08Update base16-vimJune McEnroe 2013-06-07Switch to my own fork of base16-vimJune McEnroe 2013-05-24Indent compojure correctlyJune McEnroe 2013-05-23Remove vim-clojure-staticJune McEnroe 2013-05-23Replace VimClojure with vim-clojure-staticJune McEnroe 2013-05-18Do not run gitgutter eagerlyJune McEnroe 2013-05-15Remove tabularJune McEnroe 2013-05-15Use long names for all settingsJune McEnroe 2013-05-15Add vim-gitgutterJune McEnroe 2013-04-23Remove unused pluginsJune McEnroe 2013-04-23Switch to base16-default colorschemeJune McEnroe 2013-03-26Replace nerdcommenter with vim-commentaryJune McEnroe 2013-03-24Add paredit.vimJune McEnroe 2013-03-14Update base16-vimJune McEnroe It's still crap 2013-03-12Hide mode from below statuslineJune McEnroe 2013-03-12Switch to powerlineJune McEnroe Which I'm not going to bother configuring because it thinks it's all fancy and for other things that aren't Vim so it stores its config file in ~/.config which I keep in a different repo and I only want to use it for Vim so fuck you, Powerline. </rant> 2013-03-12Remove vim-powerlineJune McEnroe 2013-02-03Update base16 and refheapJune McEnroe 2013-02-03Ignore plugin/private.vimJune McEnroe 2012-09-29Disable GUI dialogsJune McEnroe