feat(bash): use 6 space indent prompt for now

This commit is contained in:
buffet 2023-03-24 12:32:02 +01:00
parent a06c903aeb
commit bf1687b7be

View file

@ -30,13 +30,7 @@ in {
]; ];
initExtra = '' initExtra = ''
__prompt() { PS1=' '
case $? in
0) PS1='\[\e[34m\]; \[\e[0m\]' ;;
*) PS1='\[\e[31m\]; \[\e[0m\]' ;;
esac
}
PROMPT_COMMAND="__prompt"
bind '"\C-o": "\C-a\C-k fg; if [[ $? == 1 ]]; then nvim; fi\n"' bind '"\C-o": "\C-a\C-k fg; if [[ $? == 1 ]]; then nvim; fi\n"'
bind '"\e\C-m": "\C-e | nvim\C-m"' bind '"\e\C-m": "\C-e | nvim\C-m"'