shell fully configurable

This commit is contained in:
Ava Apples Affine 2023-03-23 11:52:36 -07:00
parent 1ce5fd3454
commit a711b32730
Signed by: affine
GPG key ID: 3A4645B8CF806069
4 changed files with 117 additions and 29 deletions

15
snippets/mood-prompt.rls Normal file
View file

@ -0,0 +1,15 @@
#!/bin/relish
(def __mood 'current mood' ':3')
(def CFG_RELISH_L_PROMPT 'mood left prompt'
() (concat "(" __mood ")" ))
(def CFG_RELISH_R_PROMPT 'mood right prompt'
() 'call set-mood to change prompt')
(def CFG_RELISH_PROMPT_DELIMITER 'mood prompt delim'
() '>')
(def set-mood 'set the little ascii face in your prompt'
(mood) (set (q __mood) mood))