mirror of
https://github.com/limosek/zaf.git
synced 2025-11-01 01:57:38 +01:00
First scripts
This commit is contained in:
15
lib/zaf.lib.sh
Normal file
15
lib/zaf.lib.sh
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user