You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The invocation uses https://github.com/zdharma/null repo as a placeholder
# for the atclone'' and atpull'' hooks
zplugin ice as"program" pick"$ZPFX/sdkman/bin/sdk" id-as'sdkman' run-atpull \
atclone"wget https://get.sdkman.io -O scr.sh; SDKMAN_DIR=$ZPFX/sdkman bash scr.sh" \
atpull"SDKMAN_DIR=$ZPFX/sdkman sdk selfupdate" \
atinit"export SDKMAN_DIR=$ZPFX/sdkman; source $ZPFX/sdkman/bin/sdkman-init.sh"
zplugin light zdharma/null
If we don't want to do a potentially complicated re-engineering, we can just add special handling for zinit light NULL or something, but I'd prefer to see a properly engineered solution.
The text was updated successfully, but these errors were encountered:
Totally agree. Would be nice to have a simpler API handling the local scripts, sth like zinit light $local_dir, and make the $local_dir as working directory of the ices. The above example could be simplified to sth like
@chuan137 I think some extra command line option is required as $local_dir might conflict with static mapping of some Github repos to single word tokens (see here)
PS: as an afterthought I realised that it would fly if $local_dir is absolute path i.e. starts with /
If we don't want to do a potentially complicated re-engineering, we can just add special handling for
zinit light NULL
or something, but I'd prefer to see a properly engineered solution.The text was updated successfully, but these errors were encountered: