zsh-nvm: basename: missing operand
After installation using zplug, I’m getting this message on every new terminal
This is the output of zplug load
:
$ zplug load
Installing nvm...
Cloning into '/home/maturano/.nvm'...
remote: Counting objects: 5456, done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 5456 (delta 17), reused 0 (delta 0), pack-reused 5415
Receiving objects: 100% (5456/5456), 1.55 MiB | 556.00 KiB/s, done.
Resolving deltas: 100% (3290/3290), done.
Checking connectivity... done.
basename: missing operand
Try 'basename --help' for more information.
Env: zsh 5.0.2 (x86_64-pc-linux-gnu) on Ubuntu 14.04.5 LTS
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 19 (12 by maintainers)
Commits related to this issue
- Make sure we have binaries before trying to format them Otherwise basename spits out errors #8 — committed to lukechilds/zsh-nvm by lukechilds 8 years ago
@maturano I’ve just created this issue: https://github.com/lukechilds/zsh-nvm/issues/9
This will allow
nvm
to work how you want, meaning nonode
versions are loaded until you explicitly load them. Should be pretty easy to implement, hoping to have it done in the next couple of days.Just checked the theme, it is indeed checking the node version in a sub process: https://github.com/bhilburn/powerlevel9k/blob/c4fdc8f70804fea6f543e6bbf3964301e2537e36/powerlevel9k.zsh-theme#L615-L621
I’m going to close this issue now because the original problem is resolved (thanks for your help debugging).
Feel free to open a new issue about compatibility issues between zsh-nvm and powerlevel9k. It should be pretty easy to fix with a PR to powerlevel9k.