cswimr/home
Archived
Template
1
0
Fork 0

added zsh-nvm and zsh-better-npm-completion as zsh plugins (submodules)

Signed-off-by: Seaswimmer <seaswimmerthefsh@gmail.com>
This commit is contained in:
Seaswimmer 2024-07-13 15:30:23 -04:00
parent 613b4c8dc2
commit 242183cb7f
Signed by: cswimr
GPG key ID: 3813315477F26F82
4 changed files with 15 additions and 1 deletions

6
.gitmodules vendored
View file

@ -10,3 +10,9 @@
[submodule "fast-syntax-highlighting"]
path = .zshc/plugins/fast-syntax-highlighting
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

@ -0,0 +1 @@
Subproject commit 47e5987ca422de43784f9d76311d764f82af2717

1
.zshc/plugins/zsh-nvm Submodule

@ -0,0 +1 @@
Subproject commit 745291dcf20686ec421935f1c3f8f3a2918dd106

8
.zshrc
View file

@ -65,12 +65,18 @@ ZSH_THEME="agnoster"
# Would you like to use another custom folder than $ZSH/custom?
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?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# 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"
source $ZSH/oh-my-zsh.sh