This allows users to disable a plugin without completely removing it.
Instead, they simply remove the `plugins/enabled/*.bash` file for the
plugin they want to disable. This continues the concept of "everything
on" while providing greater flexibility to future users.
It might be a good idea to allow turning these off by default in the
future and allowing not only the `plugins/enabled/*.bash` files but also
an array of `<plugin_name>` values that would search for
`plugins/available/<plugin_name>.plugin.bash` to enable them. That
method would make it easier for people custom tune their plugins from
within their `.bash_profile` script.
done
# Plugins
-PLUGINS="${BASH}/plugins/*.bash"
+PLUGINS="${BASH}/plugins/enabled/*.bash"
for config_file in $PLUGINS
do
source $config_file
--- /dev/null
+../available/base.plugin.bash
\ No newline at end of file
--- /dev/null
+../available/battery.plugin.bash
\ No newline at end of file
--- /dev/null
+../available/browser.plugin.bash
\ No newline at end of file
--- /dev/null
+../available/dirs.plugins.bash
\ No newline at end of file
--- /dev/null
+../available/git.plugins.bash
\ No newline at end of file
--- /dev/null
+../available/hg.plugins.bash
\ No newline at end of file
--- /dev/null
+../available/javascript.plugins.bash
\ No newline at end of file
--- /dev/null
+../available/jekyll.plugins.bash
\ No newline at end of file
--- /dev/null
+../available/latex.plugin.bash
\ No newline at end of file
--- /dev/null
+../available/nginx.plugins.bash
\ No newline at end of file
--- /dev/null
+../available/osx.plugin.bash
\ No newline at end of file
--- /dev/null
+../available/python.plugin.bash
\ No newline at end of file
--- /dev/null
+../available/ruby.plugin.bash
\ No newline at end of file
--- /dev/null
+../available/rvm.plugin.bash
\ No newline at end of file
--- /dev/null
+../available/ssh.plugins.bash
\ No newline at end of file
--- /dev/null
+../available/subversion.plugin.bash
\ No newline at end of file
--- /dev/null
+../available/tmux.plugin.bash
\ No newline at end of file
--- /dev/null
+../available/vagrant.plugins.bash
\ No newline at end of file
--- /dev/null
+../available/virtualenv.plugin.bash
\ No newline at end of file
--- /dev/null
+../available/z.bash
\ No newline at end of file