Zsh prompt: move prompt_cleanup
This commit is contained in:
parent
941e420c2d
commit
0ceb3c9e73
|
@ -150,6 +150,8 @@ function prompt_tastytea_setup() {
|
||||||
PS2='%F{${prompt_tastytea_colours[prompt]}}%_>%f '
|
PS2='%F{${prompt_tastytea_colours[prompt]}}%_>%f '
|
||||||
PS3='%F{${prompt_tastytea_colours[prompt]}}?#%f '
|
PS3='%F{${prompt_tastytea_colours[prompt]}}?#%f '
|
||||||
PS4='%F{${prompt_tastytea_colours[prompt]}}+%N:%i>%f '
|
PS4='%F{${prompt_tastytea_colours[prompt]}}+%N:%i>%f '
|
||||||
|
|
||||||
|
prompt_cleanup 'prompt_tastytea_cleanup'
|
||||||
}
|
}
|
||||||
|
|
||||||
function prompt_tastytea_cleanup() {
|
function prompt_tastytea_cleanup() {
|
||||||
|
@ -159,7 +161,6 @@ function prompt_tastytea_cleanup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
prompt_tastytea_setup "$@"
|
prompt_tastytea_setup "$@"
|
||||||
prompt_cleanup 'prompt_tastytea_cleanup'
|
|
||||||
|
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
# mode: shell-script
|
# mode: shell-script
|
||||||
|
|
Loading…
Reference in New Issue
Block a user