summary refs log tree commit diff
path: root/home/.config/1sh
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/.config/1sh
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/.config/1sh')
-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}"
href='/src/commit/home/.config/cwm/cwmrc?id=332b86693561ed3d7fb4e61cc7addc12842d7abd&follow=1'>Fix cwm window cycling, move big by defaultJune McEnroe 2021-02-07Use class names for Foreground, Background, BorderColorJune McEnroe 2021-02-07Add simple battery status and clock to xsessionJune McEnroe 2021-02-07Set cursor theme and sizeJune McEnroe 2021-02-07Use scrot for up -s if no screencaptureJune McEnroe 2021-02-07Enable mouse acceleration in XJune McEnroe 2021-02-07Set colours for Xt and cwmJune McEnroe 2021-02-07Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 2021-02-07Fully configure and rebind cwmJune McEnroe 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe 2021-02-06Add xterm output to schemeJune McEnroe