Skip to content

Instantly share code, notes, and snippets.

@NigoroJr
Last active September 14, 2016 11:47
Show Gist options
  • Save NigoroJr/73c8da0edd647ddbf085868a24d57a07 to your computer and use it in GitHub Desktop.
Save NigoroJr/73c8da0edd647ddbf085868a24d57a07 to your computer and use it in GitHub Desktop.
local branch_name='fix-224-247-252'
if [[ -d ~/.zplug ]]; then
builtin cd -q ~/.zplug && git checkout $branch_name
else
git clone https://github.com/zplug/zplug ~/.zplug --branch $branch_name
fi
export ZPLUG_LOADFILE=
export ZPLUG_USE_CACHE=false
source ~/.zplug/init.zsh
local -a zim_mods
zim_mods=( 'environment' 'git' )
zplug "Eriner/zim", \
depth:1, \
use:"modules/{${(j:,:)zim_mods}}/init.zsh"
zplug "Eriner/zim", \
depth:1, \
use:"modules/{${(j:,:)zim_mods}}/functions/*", \
lazy:1
# use:"modules/{${(j:,:)zim_mods}}/functions/*(N)", \
zplug check || zplug install
zplug load --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment