Open titaniumbones opened 3 years ago
Ifhtere's no nvm-which present, then the nvm-which funciton in the docs fails. I was able to fix it with:
nvm-which
(defun nvm-which () (let ((output (shell-command-to-string "source ~/.nvm/nvm.sh; nvm which"))) (if (cl-search "Node Version" output) (setq output (shell-command-to-string "source ~/.nvm/nvm.sh; nvm which current")) (setq output (cadr (split-string output "[\n]+" t)))) (message output) output))
Ifhtere's no nvm-which present, then the
nvm-which
funciton in the docs fails. I was able to fix it with: