Comments (8)
you may try aliasing:
alias sha1='shasum -a 1'
If shasum is available but sha1 isn't.
from zgen.
Hmm, tried that but just got
######################################################################## 100.0%
Checksums do not match.
Binary download failed, trying source.
######################################################################## 100.0%
Checksums do not match.
nvm: install v0.11.16 failed!
I can run sha1 from the terminal, nvm just doesn't seem about to find it.
from zgen.
Would you please provide the output of zgen list ?
from zgen.
$ zgen list
#
# Generated by zgen.
# This file will be overwritten the next time you run zgen save
#
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/oh-my-zsh.sh"
source "/Users/jeffheaton/.zgen/zsh-users/zsh-syntax-highlighting-master/zsh-syntax-highlighting.plugin.zsh"
source "/Users/jeffheaton/.zgen/zsh-users/zsh-history-substring-search-master/zsh-history-substring-search.plugin.zsh"
source "/Users/jeffheaton/.zgen/unixorn/rake-completion.zshplugin-master/rake_completion.zsh"
source "/Users/jeffheaton/.zgen/unixorn/autoupdate-zgen-master/autoupdate-zgen.plugin.zsh"
source "/Users/jeffheaton/.zgen/unixorn/jpb.zshplugin-master/jpb.plugin.zsh"
source "/Users/jeffheaton/.zgen/djui/alias-tips-master/alias-tips.plugin.zsh"
source "/Users/jeffheaton/.zgen/unixorn/git-extra-commands-master/git-extra-commands.plugin.zsh"
source "/Users/jeffheaton/.zgen/skx/sysadmin-util-master/sysadmin-util.plugin.zsh"
source "/Users/jeffheaton/.zgen/peterhurford/git-it-on.zsh-master/git-it-on.plugin.zsh"
source "/Users/jeffheaton/.zgen/StackExchange/blackbox-master/blackbox.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/pip/pip.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/bundler/bundler.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/sudo/sudo.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/aws/aws.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/brew/brew.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/chruby/chruby.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/colored-man/colored-man.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/git/git.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/github/github.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/knife_ssh/knife_ssh.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/osx/osx.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/python/python.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/rsync/rsync.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/screen/screen.plugin.zsh"
source "/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/sublime/sublime.plugin.zsh"
source "/Users/jeffheaton/.zgen/sharat87/pip-app-master/pip-app.sh"
source "/Users/jeffheaton/.zgen/chrissicool/zsh-256color-master/zsh-256color.plugin.zsh"
source "/Users/jeffheaton/.zgen/srijanshetty/docker-zsh-master/docker.plugin.zsh"
source "/Users/jeffheaton/.zgen/RobSis/zsh-completion-generator-master/zsh-completion-generator.plugin.zsh"
source "/Users/jeffheaton/.zgen/caiogondim/bullet-train-oh-my-zsh-theme-master/bullet-train.zsh-theme"
#
# Add our plugins and completions to fpath
#
fpath=(/Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master /Users/jeffheaton/.zgen/zsh-users/zsh-syntax-highlighting-master /Users/jeffheaton/.zgen/zsh-users/zsh-history-substring-search-master /Users/jeffheaton/.zgen/unixorn/rake-completion.zshplugin-master /Users/jeffheaton/.zgen/unixorn/autoupdate-zgen-master /Users/jeffheaton/.zgen/unixorn/jpb.zshplugin-master /Users/jeffheaton/.zgen/djui/alias-tips-master /Users/jeffheaton/.zgen/unixorn/git-extra-commands-master /Users/jeffheaton/.zgen/skx/sysadmin-util-master /Users/jeffheaton/.zgen/peterhurford/git-it-on.zsh-master /Users/jeffheaton/.zgen/StackExchange/blackbox-master /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/pip /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/bundler /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/sudo /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/aws /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/brew /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/chruby /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/colored-man /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/git /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/github /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/knife /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/knife_ssh /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/osx /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/python /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/rsync /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/screen /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/sublime /Users/jeffheaton/.zgen/robbyrussell/oh-my-zsh-master/plugins/vagrant /Users/jeffheaton/.zgen/sharat87/pip-app-master /Users/jeffheaton/.zgen/chrissicool/zsh-256color-master /Users/jeffheaton/.zgen/zsh-users/zsh-completions-master/src /Users/jeffheaton/.zgen/srijanshetty/docker-zsh-master /Users/jeffheaton/.zgen/RobSis/zsh-completion-generator-master /Users/jeffheaton/.zgen/caiogondim/bullet-train-oh-my-zsh-theme-master ${fpath})
from zgen.
Hmm, what does which sha1
give you? Of course without the alias I recommended.
from zgen.
$ which sha1
sha1 () {
echo -n $1 | openssl sha1 /dev/stdin
}
Thanks for all the help!
from zgen.
well that's is the problem. :)
nvm tries to find a sha1
which is not aliased (TRUE, because it is not an alias it is a function) and which is availabe (TRUE, as it is defined). Then they explicit start it with command (which will not use alias or functions).
Possible solutions:
- Search your
~/.zgen
folder for a file creating this function. And get rid of it - Create a ticket for nvm to improve the detection.
- simply add
unset -f sha1
to your zshrc
from zgen.
I used your last solution and I'll do the first later. I don't think nvm wants to do much work around aliasing from what I've seen in the comments. Brilliant! Thanks again 👍.
from zgen.
Related Issues (20)
- Support Zsh plugin standard? HOT 2
- Why is $fpath extended after sourcing plugins? HOT 2
- Profiling plugin loads HOT 1
- zsh-vim-mode does not work
- zgen-update fails after latest update HOT 3
- Errors occurred when using oh-my-zsh and prezto together HOT 6
- Is there any sense that zgen loads some default plugins for prezto? HOT 1
- Adding environment variables to specific loaded modules
- Default loading of prezto modules breaks prezto docs
- selfupdate is broken
- Add ability to run makefile in plugin directory after installing.
- this a faster oh-my-zsh plugin manager than zsh itself?
- zplug equivalent HOT 1
- is zgen dead? HOT 9
- Set :prezto:load:pmodule-dirs
- Can't source zgen HOT 1
- Request: new load syntax for _not_ cloning submodules HOT 1
- How to load https://github.com/zimfw/archive? HOT 1
- Remove zgen and revert HOT 4
- bashcompinit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zgen.