Add a note about _ksi_first_run
This commit is contained in:
parent
325603bf41
commit
0a5ffe9b73
1 changed files with 4 additions and 0 deletions
|
|
@ -139,6 +139,10 @@
|
|||
}
|
||||
|
||||
function _ksi_first_run() {
|
||||
# We install the real precmd and preexec functions here and remove this function
|
||||
# from precmd_functions. This ensures that our functions are last. This is needed
|
||||
# because the zsh prompt_init package actually sets PS1 in a precmd function and the user
|
||||
# could have setup their own precmd function to set the prompt as well.
|
||||
_ksi_install_completion
|
||||
typeset -a -g precmd_functions
|
||||
local idx=$precmd_functions[(ie)_ksi_first_run]
|
||||
|
|
|
|||
Loading…
Reference in a new issue