summary refs log tree commit diff
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
commit49ccb9e11ffd89d707eb3efe4549629a12ed5a0a (patch)
tree301d79f110d4a6f4246b490ee8cc390c0c83b163
parentMove pounce to top of causal.agency (diff)
downloadsrc-49ccb9e11ffd89d707eb3efe4549629a12ed5a0a.tar.gz
src-49ccb9e11ffd89d707eb3efe4549629a12ed5a0a.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 '')
-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}"
an title='2006-12-11 22:53:50 +0100'>2006-12-11Don't truncate valid cachefilesLars Hjemli 2006-12-11Move global variables + callback functions into shared.cLars Hjemli 2006-12-11Move functions for generic object output into ui-view.cLars Hjemli 2006-12-11Move log-functions into ui-log.cLars Hjemli 2006-12-11Move repo summary functions into ui-summary.cLars Hjemli 2006-12-11Move functions for repolist output into ui-repolist.cLars Hjemli 2006-12-11Move common output-functions into ui-shared.cLars Hjemli 2006-12-11Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli 2006-12-11Avoid infinite loops in caching layerLars Hjemli 2006-12-11Let 'make install' clear all cachefilesLars Hjemli 2006-12-11Fix cache algorithm loopholeLars Hjemli 2006-12-10Add version identifier in generated filesLars Hjemli 2006-12-10Add license file and copyright noticesLars Hjemli 2006-12-10Add caching infrastructureLars Hjemli