small pixel drawing of a pufferfish dotfiles

add simple prompt alias
Jes Olson j3s@c3f.net
Tue, 21 Jun 2022 17:08:15 -0500
commit

2a4925902770b48390753da8ec08babef84775c7

parent

71809d5d252c9c6f450a36636a63a0f1630efc62

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M .rc.rc

@@ -2,16 +2,12 @@ #!/bin/sh

PS1='$(prompt) \$ ' - # this is a story all about how -# history control in bash sucks +# history control in bash sucks, wow HISTFILE=~/.sh_eternal_history HISTSIZE= HISTCONTROL=ignoredups:erasedups shopt -s histappend - -# # 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

@@ -48,3 +44,7 @@

if [ "$TERM" = "foot" ]; then alias ssh='TERM=xterm-256color ssh' fi + +# simple prompt +# for demo purposes mostly +alias sp="export PS1='$ '"