summary refs log tree commit diff
path: root/home/.zshrc
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-09-27 22:12:00 -0400
committerJune McEnroe <june@causal.agency>2017-09-27 22:12:00 -0400
commitbcde62a8d721f23d935b3bcfe4b89965e5ec2400 (patch)
treed162ccb80c6823b1052d4413cf9579f065bffc12 /home/.zshrc
parentUpdate Linux console map to Tarmak 4 (diff)
downloadsrc-bcde62a8d721f23d935b3bcfe4b89965e5ec2400.tar.gz
src-bcde62a8d721f23d935b3bcfe4b89965e5ec2400.zip
Always newline before prompt
Diffstat (limited to 'home/.zshrc')
-rw-r--r--home/.zshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/.zshrc b/home/.zshrc
index c4346a93..7de8abd1 100644
--- a/home/.zshrc
+++ b/home/.zshrc
@@ -58,12 +58,12 @@ _prompt_git() {
   esac
 }
 [ -n "$SSH_CLIENT" ] && _prompt_ssh='%F{magenta}'
-PROMPT="%(?.%F{white}$_prompt_ssh.%F{red})%#%f "
+PROMPT="
+%(?.%F{white}$_prompt_ssh.%F{red})%#%f "
 RPROMPT='%F{white}%50<..<%~$(_prompt_git)%f'
 
-_n() { _n() { echo } }
 _title() { print -Pn "\e]0;$1\a" }
 _title_precmd() { _title '%1~' }
 _title_preexec() { psvar=("$1") _title '%1~: %1v' }
-precmd_functions=(_n _title_precmd)
+precmd_functions=(_title_precmd)
 preexec_functions=(_title_preexec)
11 -0400'>2018-09-12Add note about C-oJune McEnroe 2018-09-12Use formatParse split to position input cursorJune McEnroe 2018-09-12Factor out IRC formatting parsingJune McEnroe 2018-09-11Add /help equivalent to /manJune McEnroe 2018-09-11Don't render every PM as a pingJune McEnroe 2018-09-11Add urlOpenMatchJune McEnroe 2018-09-10Depend on man.sh for chroot.tar targetJune McEnroe 2018-09-10Set LESSSECURE=1 in man.shJune McEnroe 2018-09-10Add /man commandJune McEnroe 2018-09-10Install man page in chrootJune McEnroe 2018-09-10Install man pageJune McEnroe 2018-09-10Split keys into subsections and document colorsJune McEnroe 2018-09-10Add "blank" lines to chatte.1June McEnroe 2018-09-10Document key bindings in chatte.1June McEnroe 2018-09-08Document slash commands in chatte.1June McEnroee='2018-09-13 16:16:11 -0400'>2018-09-13Move color selection to format.cJune McEnroe 2018-09-13Fix len for format->split at end of stringJune McEnroe 2018-09-13Avoid uninitialized x in uiReadJune McEnroe 2018-09-13Add IRCDefault to colors enumJune McEnroe 2018-09-13Return a format->split even at the end of the stringJune McEnroe 2018-09-13Fix weird tab-complete after commaJune McEnroe I have no idea why I did this. 2018-09-13Rewrite UI againJune McEnroe The persistent topic is gone and the status line is now at the top. The status formatting still needs to be reworked. I also want to try showing the nick in the input window so it really looks like your next message. 2018-09-12Add note about C-oJune McEnroe Why are there so few well usable ctrl key bindings? 2018-09-12Use formatParse split to position input cursorJune McEnroe 2018-09-12Factor out IRC formatting parsingJune McEnroe 2018-09-11Add /help equivalent to /manJune McEnroe 2018-09-11Don't render every PM as a pingJune McEnroe 2018-09-11Add urlOpenMatchJune McEnroe 2018-09-10Depend on man.sh for chroot.tar targetJune McEnroe 2018-09-10Set LESSSECURE=1 in man.shJune McEnroe Ridiculous. 2018-09-10Add /man commandJune McEnroe 2018-09-10Install man page in chrootJune McEnroe 2018-09-10Install man pageJune McEnroe 2018-09-10Split keys into subsections and document colorsJune McEnroe 2018-09-10Add "blank" lines to chatte.1June McEnroe 2018-09-10Document key bindings in chatte.1June McEnroe 2018-09-08Document slash commands in chatte.1June McEnroe