summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-15 15:57:06 -0500
committerJune McEnroe <june@causal.agency>2019-01-15 15:57:06 -0500
commitcb89b3e01ea1b1fb6baf62d867208d58ab3c7b20 (patch)
treeb130cd6234a75883fe37873c812dcbc599400fe7 /home
parentUse flock(2) when loading and saving history (diff)
downloadsrc-cb89b3e01ea1b1fb6baf62d867208d58ab3c7b20.tar.gz
src-cb89b3e01ea1b1fb6baf62d867208d58ab3c7b20.zip
Use \$ in cash PS1 and add # to RPS1
Diffstat (limited to 'home')
-rw-r--r--home/.config/cash/env.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/home/.config/cash/env.sh b/home/.config/cash/env.sh
index 683ca26b..13482946 100644
--- a/home/.config/cash/env.sh
+++ b/home/.config/cash/env.sh
@@ -34,10 +34,11 @@ alias rand='openssl rand -base64 33'
 alias private='eval "$(gpg -d ~/.private)"'
 [ "$(uname)" = 'Linux' ] && alias ls='ls --color=auto' grep='grep --color'
 
+af0=$(tput setaf 0 || tput AF 0)
 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}"
+PS1="${PSlit}${af7}${PSlit}\\\$${PSlit}${sgr0}${PSlit} "
+RPS1="${PSlit}${af0}${PSlit}# ${PSlit}${af7}${PSlit}\\w${PSlit}${sgr0}${PSlit}"
16992208ec0549fdbc776da35c9f799126d15d89&follow=1'>Add photos from September 14June McEnroe 2024-09-24Add photos from September 12June McEnroe 2024-09-24Add photos from September 7June McEnroe 2024-09-24Allow not having descriptionsJune McEnroe I'm sorry, I can't keep writing descriptions. It makes posting photos take too long, I often don't know the words for what I'm looking at, and a good description is an entirely different work of art than the photo I took, and I'm just a photographer. It's visual art. 2024-09-23Automatically select the last used lens for a bodyJune McEnroe 2024-09-19Add photos from September 5June McEnroe Had to prefix the folder number onto these file names manually because they must have come out of a different scanner or something. 2024-09-15Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe This seems easier to visually scan. The only other thing I'd like is a nicer date rendering but JavaScript is useless for that. 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe