memo/D1894/bashrc3
raw| 1 | # bashrc |
| 2 | |
| 3 | eval "$(starship init bash)" |
| 4 | |
| 5 | if source out/ble.sh --noattach --norc; then |
| 6 | blehook PRECMD+='bleopt prompt_rps1="\n\n$(starship prompt --right)"' |
| 7 | |
| 8 | # function ble/prompt/backslash:starship/right { |
| 9 | # local right |
| 10 | # ble/util/assign right 'starship prompt --right' |
| 11 | # ble/prompt/process-prompt-string "$right" |
| 12 | # } |
| 13 | # bleopt prompt_rps1="\n\n\q{starship/right}" |
| 14 | |
| 15 | ble-attach |
| 16 | fi |