From bf0ef54ead56456c1cdc30f024fdf336294ba998 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Fri, 12 Oct 2018 09:32:25 +0100 Subject: [PATCH] Add better npm completion --- .gitmodules | 3 +++ shells/zsh/oh-my-zsh/plugins/zsh-better-npm-completion | 1 + shells/zsh/zshrc | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 shells/zsh/oh-my-zsh/plugins/zsh-better-npm-completion diff --git a/.gitmodules b/.gitmodules index 9e65e059..715116f1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "shells/zsh/oh-my-zsh/plugins/zsh-autosuggestions"] path = shells/zsh/oh-my-zsh/plugins/zsh-autosuggestions url = https://github.com/zsh-users/zsh-autosuggestions +[submodule "shells/zsh/oh-my-zsh/plugins/zsh-better-npm-completion"] + path = shells/zsh/oh-my-zsh/plugins/zsh-better-npm-completion + url = https://github.com/lukechilds/zsh-better-npm-completion diff --git a/shells/zsh/oh-my-zsh/plugins/zsh-better-npm-completion b/shells/zsh/oh-my-zsh/plugins/zsh-better-npm-completion new file mode 160000 index 00000000..b61f6bb4 --- /dev/null +++ b/shells/zsh/oh-my-zsh/plugins/zsh-better-npm-completion @@ -0,0 +1 @@ +Subproject commit b61f6bb4e640728c42ae84ca55a575ee88c60fe8 diff --git a/shells/zsh/zshrc b/shells/zsh/zshrc index 80dff553..23a217cb 100644 --- a/shells/zsh/zshrc +++ b/shells/zsh/zshrc @@ -52,7 +52,7 @@ ZSH_CUSTOM=$HOME/.dotfiles/shells/zsh/oh-my-zsh # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git zsh-autosuggestions) +plugins=(git zsh-better-npm-completion zsh-autosuggestions) source $ZSH/oh-my-zsh.sh