mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
Merge branch 'master' into dynamic
This commit is contained in:
commit
8231995ed5
15 changed files with 83 additions and 10 deletions
|
|
@ -1368,8 +1368,8 @@ function ask_zshrc_edit() {
|
|||
cp -p $__p9k_zshrc $zshrc_backup || quit -c
|
||||
print -r -- $zshrc_content >$zshrc_backup || quit -c
|
||||
zshrc_backup_u=${${TMPDIR:+\$TMPDIR}:-/tmp}/${(q-)zshrc_backup:t}
|
||||
break
|
||||
fi
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
|
@ -1538,12 +1538,19 @@ function generate_config() {
|
|||
sub MULTILINE_FIRST_PROMPT_PREFIX ''
|
||||
sub MULTILINE_NEWLINE_PROMPT_PREFIX ''
|
||||
sub MULTILINE_LAST_PROMPT_PREFIX ''
|
||||
uncomment prompt_char
|
||||
sub STATUS_OK false
|
||||
sub STATUS_ERROR false
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $style == (classic|rainbow) ]]; then
|
||||
if (( num_lines == 2 && ! left_frame )); then
|
||||
uncomment prompt_char
|
||||
else
|
||||
uncomment vi_mode
|
||||
fi
|
||||
fi
|
||||
|
||||
(( empty_line )) && sub PROMPT_ADD_NEWLINE true || sub PROMPT_ADD_NEWLINE false
|
||||
|
||||
sub INSTANT_PROMPT $instant_prompt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue