mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2024-06-30 00:18:59 +02:00
FNM & Spaceship prompt
This commit is contained in:
parent
c993297452
commit
b2bf15c914
|
@ -30,7 +30,6 @@ zstyle ':prezto:*:*' color 'yes'
|
|||
# Set the Prezto modules to load (browse modules).
|
||||
# The order matters.
|
||||
zstyle ':prezto:load' pmodule \
|
||||
'git' \
|
||||
'environment' \
|
||||
'terminal' \
|
||||
'editor' \
|
||||
|
@ -40,17 +39,20 @@ zstyle ':prezto:load' pmodule \
|
|||
'utility' \
|
||||
'completion' \
|
||||
'history-substring-search' \
|
||||
'contrib-prompt' \
|
||||
'prompt' \
|
||||
'git' \
|
||||
'syntax-highlighting' \
|
||||
'fasd' \
|
||||
'autosuggestions' \
|
||||
'fasd' \
|
||||
|
||||
#
|
||||
# Autosuggestions
|
||||
#
|
||||
|
||||
# Set the query found color.
|
||||
# zstyle ':prezto:module:autosuggestions:color' found ''
|
||||
zstyle ':prezto:module:autosuggestions' color 'yes'
|
||||
# zstyle ':prezto:module:autosuggestions:color' found 'white'
|
||||
|
||||
#
|
||||
# Completions
|
||||
|
@ -134,7 +136,7 @@ zstyle ':prezto:module:editor' key-bindings 'emacs'
|
|||
# Set the prompt theme to load.
|
||||
# Setting it to 'random' loads a random theme.
|
||||
# Auto set to 'off' on dumb terminals.
|
||||
zstyle ':prezto:module:prompt' theme 'sorin'
|
||||
zstyle ':prezto:module:prompt' theme 'spaceship'
|
||||
|
||||
# Set the working directory prompt display length.
|
||||
# By default, it is set to 'short'. Set it to 'long' (without '~' expansion)
|
||||
|
|
|
@ -47,6 +47,8 @@ export XDG_CACHE_HOME="$HOME/.cache"
|
|||
# Disable command correction suggestions
|
||||
unsetopt correct
|
||||
|
||||
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=white'
|
||||
|
||||
# fnm (fast node manager)
|
||||
export FNM_MULTISHELL_PATH=/Users/hgreen/.fnm/current
|
||||
export FNM_DIR=/Users/hgreen/.fnm
|
||||
|
@ -66,3 +68,15 @@ export FNM_LOGLEVEL=info
|
|||
|
||||
add-zsh-hook chpwd _fnm_autoload_hook \
|
||||
&& _fnm_autoload_hook
|
||||
|
||||
# fnm
|
||||
export PATH=/Users/hgreen/.fnm:$PATH
|
||||
eval "`fnm env --multi`"
|
||||
|
||||
|
||||
|
||||
export SPACESHIP_PROMPT_ADD_NEWLINE=false
|
||||
export SPACESHIP_PROMPT_PREFIXES_SHOW=false
|
||||
export SPACESHIP_DOCKER_SHOW=false
|
||||
export SPACESHIP_PHP_SHOW=false
|
||||
|
||||
|
|
Loading…
Reference in a new issue