1
0
mirror of https://github.com/zplug/zplug synced 2025-07-05 11:36:53 +02:00
zplug/autoload/options/__self-manage__
b4b4r07 26284a5ef4 Add the desc of --self-manage option
and fix help description algorithm

Related to #311
2016-12-28 02:16:44 +09:00

16 lines
322 B
Bash

#!/usr/bin/env zsh
# Description:
# Self management of zplug
if ! __zplug::base::base::zpluged "zplug/zplug"; then
__zplug::io::print::f \
--die \
--zplug \
"zplug/zplug: not managed yet\n"
return 1
fi
ln -snf \
"$ZPLUG_HOME/repos/zplug/zplug/init.zsh" \
"$ZPLUG_HOME/init.zsh"