feat(bash): use 6 space indent prompt for now
This commit is contained in:
parent
a06c903aeb
commit
bf1687b7be
1 changed files with 1 additions and 7 deletions
|
@ -30,13 +30,7 @@ in {
|
|||
];
|
||||
|
||||
initExtra = ''
|
||||
__prompt() {
|
||||
case $? in
|
||||
0) PS1='\[\e[34m\]; \[\e[0m\]' ;;
|
||||
*) PS1='\[\e[31m\]; \[\e[0m\]' ;;
|
||||
esac
|
||||
}
|
||||
PROMPT_COMMAND="__prompt"
|
||||
PS1=' '
|
||||
|
||||
bind '"\C-o": "\C-a\C-k fg; if [[ $? == 1 ]]; then nvim; fi\n"'
|
||||
bind '"\e\C-m": "\C-e | nvim\C-m"'
|
||||
|
|
Loading…
Reference in a new issue