mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2024-06-30 00:18:59 +02:00
Use official node module instead of loading nvm manually
This commit is contained in:
parent
4e9e9ef165
commit
7502e6ac1b
|
@ -43,7 +43,9 @@ zstyle ':prezto:load' pmodule \
|
|||
'prompt' \
|
||||
'syntax-highlighting' \
|
||||
'fasd' \
|
||||
'autosuggestions'
|
||||
'autosuggestions' \
|
||||
'node'
|
||||
|
||||
#
|
||||
# Autosuggestions
|
||||
#
|
||||
|
|
|
@ -42,9 +42,5 @@ export XDG_DATA_HOME="$HOME/.local/share"
|
|||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
# Disable command correction suggestions
|
||||
unsetopt correct
|
||||
|
|
Loading…
Reference in a new issue