add completion for nvm

pull/795/head
MunifTanjim 2016-10-07 21:34:53 +06:00
parent 97e1346bec
commit 4180f80dce
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
# nvm (Node Version Manager) completion
if [ -r $NVM_DIR/bash_completion ]
then
. $NVM_DIR/bash_completion
else
echo "Enable nvm plugin first"
fi