Alpha Chen 2 years ago
parent 633fdffc4c
commit ec09482b78
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -0,0 +1 @@
eval "$(starship init zsh)"

@ -138,7 +138,7 @@ zstyle ':prezto:module:git:status:ignore' submodules 'all'
# Set the prompt theme to load. # Set the prompt theme to load.
# Setting it to 'random' loads a random theme. # Setting it to 'random' loads a random theme.
# Auto set to 'off' on dumb terminals. # Auto set to 'off' on dumb terminals.
zstyle ':prezto:module:prompt' theme 'pure' zstyle ':prezto:module:prompt' theme 'starship'
# Set the working directory prompt display length. # Set the working directory prompt display length.
# By default, it is set to 'short'. Set it to 'long' (without '~' expansion) # By default, it is set to 'short'. Set it to 'long' (without '~' expansion)

@ -26,6 +26,7 @@ unsetopt correct # Don't autocorrect
unsetopt flowcontrol # So ^S and ^Q can be used unsetopt flowcontrol # So ^S and ^Q can be used
setopt no_nomatch # Pass bad matches on setopt no_nomatch # Pass bad matches on
setopt no_share_history setopt no_share_history
setopt prompt_subst interactive_comments # Starship: https://github.com/sorin-ionescu/prezto/issues/1887#issuecomment-1040761561
bindkey "\ep" history-beginning-search-backward bindkey "\ep" history-beginning-search-backward
bindkey "\en" history-beginning-search-forward bindkey "\en" history-beginning-search-forward

Loading…
Cancel
Save