|
|
@ -12,30 +12,30 @@ help() { |
|
|
|
BOLD=$(tput bold) |
|
|
|
BOLD=$(tput bold) |
|
|
|
NORMAL=$(tput sgr0) |
|
|
|
NORMAL=$(tput sgr0) |
|
|
|
|
|
|
|
|
|
|
|
echo "${BOLD}NAME${NORMAL}" |
|
|
|
echo "${BOLD}NAME${NORMAL}" |
|
|
|
echo " vimplugin - vim plugin manager" |
|
|
|
echo " vimplugin - vim plugin manager" |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
echo "${BOLD}SYNOPSIS${NORMAL}" |
|
|
|
echo "${BOLD}SYNOPSIS${NORMAL}" |
|
|
|
echo " ./vimplugin.sh <command> [<arg1> <arg2>]" |
|
|
|
echo " ./vimplugin.sh <command> [<arg1> <arg2>]" |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
echo "${BOLD}COMMANDS${NORMAL}" |
|
|
|
echo "${BOLD}COMMANDS${NORMAL}" |
|
|
|
echo " init" |
|
|
|
echo " init" |
|
|
|
echo " Creates all the required directories/files." |
|
|
|
echo " Creates all the required directories/files." |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
echo " install <url> [\"start\"/\"opt\"]" |
|
|
|
echo " install <url> [\"start\"/\"opt\"]" |
|
|
|
echo " Install a new plugin, <url> need to be a valid \ |
|
|
|
echo " Install a new plugin, <url> need to be a valid \ |
|
|
|
GitHub URL, |
|
|
|
GitHub URL, |
|
|
|
start/opt to install the plugin in the start/opt directory \ |
|
|
|
start/opt to install the plugin in the start/opt directory \ |
|
|
|
(default: start)." |
|
|
|
(default: start)." |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
echo " list <number>" |
|
|
|
echo " list <number>" |
|
|
|
echo " Prints all the installed plugins, <number> prints \ |
|
|
|
echo " Prints all the installed plugins, <number> prints \ |
|
|
|
just the plugin in that position." |
|
|
|
just the plugin in that position." |
|
|
|
echo " remove" |
|
|
|
echo " remove" |
|
|
|
echo " Remove plugin, script will prompt a selection menu." |
|
|
|
echo " Remove plugin, script will prompt a selection menu." |
|
|
|
echo " update" |
|
|
|
echo " update" |
|
|
|
echo " Installs/updates all plugins from the config file." |
|
|
|
echo " Installs/updates all plugins from the config file." |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
init() { |
|
|
|
init() { |
|
|
|