summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-20 16:24:44 -0500
committerJune McEnroe <june@causal.agency>2019-11-20 16:25:17 -0500
commitbfafc732c82dcff685b92e5dc113dd65a6e935da (patch)
tree5c5eb146c7a9737b8091b01a7d5ddec4fca56073 /home
parentMove pounce to top of causal.agency (diff)
downloadsrc-bfafc732c82dcff685b92e5dc113dd65a6e935da.tar.gz
src-bfafc732c82dcff685b92e5dc113dd65a6e935da.zip
Remove color from 1sh prompts
The weird PSlit behaviour just causes more weirdness than it's worth.
The color I was using was barely different anyway.
Diffstat (limited to 'home')
-rw-r--r--home/.config/1sh/env.sh10
1 files changed, 1 insertions, 9 deletions
diff --git a/home/.config/1sh/env.sh b/home/.config/1sh/env.sh
index 105d80ed..362631e2 100644
--- a/home/.config/1sh/env.sh
+++ b/home/.config/1sh/env.sh
@@ -43,14 +43,6 @@ PS0=$'\n'
 PS1='\$ '
 RPS1="${SSH_CLIENT:+\h:}\w"
 
-af0=$(tput setaf 0 || tput AF 0)
-af7=$(tput setaf 7 || tput AF 7)
-sgr0=$(tput sgr0 || tput me)
 tsl=$'\e]0;'
-fsl=$'\a'
-
-# FIXME: Trailing PSlit sequence gets dropped.
-PSlit=$'\1'
-PS1="${PSlit}${af7}${PSlit}${PS1% }${PSlit}${sgr0}${PSlit} "
-RPS1="${PSlit}${af0}${PSlit}# ${PSlit}${af7}${PSlit}${RPS1}${PSlit}${sgr0}${PSlit}"
+fsl=$'\e\\'
 [ "${TERM%-*}" = 'xterm' ] && PS0="${tsl}${SSH_CLIENT:+\h:}\W${fsl}${PS0}"
aedc85b74037588777ccbb4&follow=1'>Remove word handling from formatParseJune McEnroe 2018-09-14Apply consecutive formatting codes at onceJune McEnroe 2018-09-14Add tests for formatParseJune McEnroe 2018-09-13Preview with nick in input windowJune McEnroe 2018-09-13Never send PRIVMSG to TagStatus or TagVerboseJune McEnroe 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 2018-09-13Rewrite UI againJune McEnroe 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 McEnroe