my dotz
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

add simple prompt alias

+5 -5
+5 -5
.rc
··· 2 2 3 3 PS1='$(prompt) \$ ' 4 4 5 - 6 5 # this is a story all about how 7 - # history control in bash sucks 6 + # history control in bash sucks, wow 8 7 HISTFILE=~/.sh_eternal_history 9 8 HISTSIZE= 10 9 HISTCONTROL=ignoredups:erasedups 11 10 shopt -s histappend 12 - 13 - # # reload history on every prompt invocation 14 - # PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" 15 11 16 12 # extend pa for git stuffs 17 13 # meh i don't like this at all tbh ··· 48 44 if [ "$TERM" = "foot" ]; then 49 45 alias ssh='TERM=xterm-256color ssh' 50 46 fi 47 + 48 + # simple prompt 49 + # for demo purposes mostly 50 + alias sp="export PS1='$ '"