1
0
mirror of https://github.com/limosek/zaf.git synced 2025-11-01 01:57:38 +01:00

First scripts

This commit is contained in:
Lukas Macura
2016-03-23 14:37:51 +01:00
parent b048d26533
commit 5e566a2046
7 changed files with 400 additions and 26 deletions

15
lib/zaf.lib.sh Normal file
View File

@@ -0,0 +1,15 @@
# Update repo
zaf_update_repo() {
cd ${ZAF_REPO_DIR} && git pull
}
# List installed plugins
zaf_list_installed_plugins() {
cd ${ZAF_PLUGINS_DIR}; ls -d
}
# Install plugin.
# Parameter is url, directory or plugin name (will be searched in default plugin dir)
zaf_install_plugin() {
a
}