Rework bash history, recolor some things
Jes Olson jolson@digitalocean.com
Wed, 05 Jan 2022 15:24:53 -0600
2 files changed,
8 insertions(+),
4 deletions(-)
M
.config/sway/config
→
.config/sway/config
@@ -254,7 +254,7 @@ status_command statusbar
colors { statusline #89CFF0 - focused_workspace #97f0a6 #97f0a6 #000000 + focused_workspace #89cff0 #89cff0 #000000 background #000000 inactive_workspace #32323200 #32323200 #5c5c5c }
M
.rc
→
.rc
@@ -2,12 +2,16 @@ #!/bin/sh
PS1='$(prompt) \$ ' -# make history infinite, dedup'd, and sync'd between terms + +# this is a story all about how +# history control in bash sucks HISTFILE=~/.sh_eternal_history -HISTFILESIZE=infinite +HISTSIZE= HISTCONTROL=ignoredups:erasedups shopt -s histappend -PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" + +# # reload history on every prompt invocation +# PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" # extend pa for git stuffs # meh i don't like this at all tbh