added zsh-nvm and zsh-better-npm-completion as zsh plugins (submodules)
Signed-off-by: Seaswimmer <seaswimmerthefsh@gmail.com>
This commit is contained in:
parent
613b4c8dc2
commit
242183cb7f
4 changed files with 15 additions and 1 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -10,3 +10,9 @@
|
||||||
[submodule "fast-syntax-highlighting"]
|
[submodule "fast-syntax-highlighting"]
|
||||||
path = .zshc/plugins/fast-syntax-highlighting
|
path = .zshc/plugins/fast-syntax-highlighting
|
||||||
url = https://github.com/zdharma-continuum/fast-syntax-highlighting.git
|
url = https://github.com/zdharma-continuum/fast-syntax-highlighting.git
|
||||||
|
[submodule "zsh-nvm"]
|
||||||
|
path = .zshc/plugins/zsh-nvm
|
||||||
|
url = https://github.com/lukechilds/zsh-nvm.git
|
||||||
|
[submodule "zsh-better-npm-completion"]
|
||||||
|
path = .zshc/plugins/zsh-better-npm-completion
|
||||||
|
url = https://github.com/lukechilds/zsh-better-npm-completion.git
|
||||||
|
|
1
.zshc/plugins/zsh-better-npm-completion
Submodule
1
.zshc/plugins/zsh-better-npm-completion
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 47e5987ca422de43784f9d76311d764f82af2717
|
1
.zshc/plugins/zsh-nvm
Submodule
1
.zshc/plugins/zsh-nvm
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 745291dcf20686ec421935f1c3f8f3a2918dd106
|
8
.zshrc
8
.zshrc
|
@ -65,12 +65,18 @@ ZSH_THEME="agnoster"
|
||||||
# Would you like to use another custom folder than $ZSH/custom?
|
# Would you like to use another custom folder than $ZSH/custom?
|
||||||
ZSH_CUSTOM=$HOME/.zshc
|
ZSH_CUSTOM=$HOME/.zshc
|
||||||
|
|
||||||
|
# zsh-nvm settings
|
||||||
|
export NVM_COMPLETION=true
|
||||||
|
export NVM_LAZY_LOAD=true
|
||||||
|
export NVM_LAZY_LOAD_EXTRA_COMMANDS=('nvim')
|
||||||
|
export NVM_AUTO_USE=true
|
||||||
|
|
||||||
# Which plugins would you like to load?
|
# Which plugins would you like to load?
|
||||||
# Standard plugins can be found in $ZSH/plugins/
|
# Standard plugins can be found in $ZSH/plugins/
|
||||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(git colored-man-pages colorize command-not-found cp pyenv pip python virtualenv virtualenvwrapper poetry-env systemd archlinux appup fast-syntax-highlighting)
|
plugins=(git colored-man-pages colorize command-not-found cp pyenv pip python virtualenv virtualenvwrapper poetry-env systemd archlinux appup zsh-nvm zsh-better-npm-completion fast-syntax-highlighting)
|
||||||
fpath+="${ZSH_CUSTOM:-"$ZSH/custom"}/plugins/zsh-completions/src"
|
fpath+="${ZSH_CUSTOM:-"$ZSH/custom"}/plugins/zsh-completions/src"
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
|
Reference in a new issue