Make correction work
This commit is contained in:
parent
63f9ff9ecf
commit
8b2eaa7d07
2 changed files with 5 additions and 4 deletions
|
@ -24,6 +24,11 @@ precmd() {
|
|||
}
|
||||
local vcs='${vcs_info_msg_0_}'
|
||||
|
||||
# autocorrect
|
||||
autoload -U compinit
|
||||
compinit
|
||||
setopt correct_all
|
||||
|
||||
# prompt
|
||||
local return_code="%(?..%?)"
|
||||
local prompt="%(?.%F{green}->.%F{red}-%B${return_code}%b%F{red}->%{%})%f"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue