summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-13 18:58:08 -0500
committerJune McEnroe <june@causal.agency>2019-01-13 18:58:08 -0500
commit75792da4af7b04421cc6ec8310e17322b282a5e0 (patch)
tree39f11663871a38e6069ce049d6fe2443bd4c2639
parentAdd PS0 (diff)
downloadsrc-75792da4af7b04421cc6ec8310e17322b282a5e0.tar.gz
src-75792da4af7b04421cc6ec8310e17322b282a5e0.zip
Set PS0 in cash
-rw-r--r--home/.config/cash/env.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/.config/cash/env.sh b/home/.config/cash/env.sh
index 32733a8a..450bb4b8 100644
--- a/home/.config/cash/env.sh
+++ b/home/.config/cash/env.sh
@@ -38,5 +38,6 @@ af7=$(tput setaf 7 || tput AF 7)
 sgr0=$(tput sgr0 || tput me)
 
 PSlit=$'\1'
+[ "${TERM%-*}" = 'xterm' ] && PS0=$'\e]0;\\W\a\n' || PS0=$'\n'
 PS1="${PSlit}${af7}${PSlit}\$${PSlit}${sgr0}${PSlit} "
 RPS1="${PSlit}${af7}${PSlit}\\W${PSlit}${sgr0}${PSlit}"
c/commit/home/.config/cwm/cwmrc?id=8ba3e92fc79476559bd09e44477140bb5559112b&follow=1'>Bump font size to 12June McEnroe 11 is what I use on macOS, but I feel like my eyes are working harder here. 2021-02-07Fully configure and rebind cwmJune McEnroe This is sort of a mix of trying to emulate macOS somewhat for my muscle memory and just rebinding some of the cwm defaults to use 4- rather than M-. 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 cwm still needs a lot more rebinding, and I need to actually look at its other options. xterm definitely still needs some configuration, but I at least managed to get it to use a decent looking font. Very happy that OpenBSD includes Luxi Mono, which is what my usual font, Go Mono, is based on anyway. Still missing is xmodmap and such. 2021-02-06Add xterm output to schemeJune McEnroe