Commit Graph

14 Commits (ea2002a2e4c84943385c66637ef09544060a33a6)

Author SHA1 Message Date
John D Pell ccd8b52e89 plugins/virtualenv: use `_command_exists` 2021-09-19 21:58:48 -07:00
John D Pell 470341b23a Drop `basename` in favor of Bash strings
Convert `var=$(basename $file)` to `var="${file##*/}"`
2021-09-16 16:59:02 -07:00
Yukino Song fa266e9b0c
Change to _command_exists helper 2018-04-11 14:59:56 +08:00
Yukino Song 0b73975d04
Add support for pyenv-virtualenv 2018-04-10 17:12:22 +08:00
Travis Swicegood adfd72a3ad Fix so this works with the all themes (oops) 2014-01-09 10:52:14 -06:00
Travis Swicegood 2813930e04 Add a wovenv to match mkvenv 2012-11-16 11:00:46 -06:00
Travis Swicegood afe700fc0c Remove --no-site-packages as that is now the default behavior 2012-11-16 11:00:30 -06:00
Erich Smith 08e439c4f0 update plugin management 2012-05-13 22:13:54 -04:00
Erich Smith 55e77deac1 standardize plugins, update metadata
add about-plugin metadata
chmod -x plugins
cleanup filenames to standardize on x.plugin.bash format
only plugin files intended to be executable from the command line should
contain a shebang line, and should be a+x.
2012-05-13 22:13:54 -04:00
Eitan Adler 3fc60b5358 Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
Travis Swicegood a74279df5c Fix typo (thanks @rdmurphy) 2012-03-26 11:20:24 -05:00
Travis Swicegood 1372e7d931 add a few more helpers for virtualenv 2012-03-26 11:01:18 -05:00
Travis Swicegood aa622e8c34 add mkvenv shortcut 2011-11-15 10:47:37 -06:00
Travis Swicegood ffa45b0391 Create the concept of enabled plugins
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.
2011-05-02 23:12:50 -05:00