1
0
Fork 0

Zsh prompt: move prompt_cleanup

This commit is contained in:
tastytea 2022-04-24 22:01:57 +02:00
parent 941e420c2d
commit 0ceb3c9e73
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 2 additions and 1 deletions

View File

@ -150,6 +150,8 @@ function prompt_tastytea_setup() {
PS2='%F{${prompt_tastytea_colours[prompt]}}%_>%f '
PS3='%F{${prompt_tastytea_colours[prompt]}}?#%f '
PS4='%F{${prompt_tastytea_colours[prompt]}}+%N:%i>%f '
prompt_cleanup 'prompt_tastytea_cleanup'
}
function prompt_tastytea_cleanup() {
@ -159,7 +161,6 @@ function prompt_tastytea_cleanup() {
}
prompt_tastytea_setup "$@"
prompt_cleanup 'prompt_tastytea_cleanup'
# Local Variables:
# mode: shell-script