Commit Graph

119 Commits (19a2dd8bb8aa3fdc35d29922292eed2086c1f12d)

Author SHA1 Message Date
Mike Fiedler b0bceb963e
Replace subshell for git hash, add remote info
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-10-01 16:20:28 -04:00
Mike Fiedler 8015bba27f
Exit directory upon completion, update tests
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-09-30 20:06:42 -04:00
Mike Fiedler 71bda32dc0
Add version to commands
Add a helper to show the current git SHA of the installed git repo.

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-09-29 05:39:36 -04:00
Jean Jordaan ca6a1ae2db Use 'mktemp -t', leave tempfile cleanup to the OS 2017-09-28 21:54:58 +07:00
Nils Winkler 145ec5dfaa Copied command_exists function to the helpers lib so that there is no hidden dependency on the base plugin
The original command_exists function will stay in the base plugin, but will no longer be used by other plugins or themes.
2017-09-17 21:05:59 +02:00
Nils Winkler fd637a3dc6 Loading components from global enabled directory 2017-09-17 21:05:59 +02:00
Nils Winkler 5210707da8 Test cases for loading from global directory 2017-09-17 21:05:59 +02:00
Nils Winkler f57bd1e131 Fixed issues with migrating components with the same name
dirs.plugin.bash was recognized while looking for dirs.completion.bash in the global enabled directory.
2017-09-17 21:05:59 +02:00
Nils Winkler aa9a63a10e Added message after migrating about possible fixes.
See #985 for background.
2017-09-17 21:05:59 +02:00
Nils Winkler 0791895236 Fixed some more shellcheck complaints 2017-09-17 21:05:58 +02:00
Nils Winkler 475b0778dd Fixed a couple of shellcheck complaints 2017-09-17 21:05:58 +02:00
Nils Winkler 88ef16ccc7 Fixed migration order on macOS 2017-09-17 21:05:58 +02:00
Nils Winkler 6e34d4f837 Simplified disable all 2017-09-17 21:05:58 +02:00
Nils Winkler 1810eddaf3 Using compgen instead of globw 2017-09-17 21:05:58 +02:00
Nils Winkler 729f21c106 Reading bash-it help lists aliases from global enabled directory 2017-09-17 21:05:58 +02:00
Nils Winkler c26476f56e Fixed bash-it help aliases for todo.txt-cli 2017-09-17 21:05:58 +02:00
Nils Winkler e0554cb512 Test cases and fix for bash-it help aliases foo 2017-09-17 21:05:58 +02:00
Nils Winkler 4cda9c0a43 Started work on bash-it help aliases 2017-09-17 21:05:58 +02:00
Nils Winkler 5ff873e058 Fixed "bash-it help aliases" cases, more to come... 2017-09-17 21:05:58 +02:00
Nils Winkler 9f3ef22538 Describe function supports new directory structure 2017-09-17 21:05:57 +02:00
Nils Winkler 591c8a67f3 Support both enabled formats during migration 2017-09-17 21:05:57 +02:00
Nils Winkler 375515cc6e Use compgen -G instead of ls for finding enabled components
Reference: https://stackoverflow.com/a/34195247/1228454
2017-09-17 21:05:57 +02:00
Nils Winkler 7242cc0927 Fix glob expression for finding enabled components 2017-09-17 21:05:57 +02:00
Nils Winkler 2ac08cae0f Fix one migration case 2017-09-17 21:05:57 +02:00
Nils Winkler 6fa235a825 Start work on migration to global directory 2017-09-17 21:05:57 +02:00
Nils Winkler f892269aff Fix reload function to use the old and the new directory 2017-09-17 21:05:57 +02:00
Nils Winkler 5f3627b9b7 Change the enable/disable functions to use the global directory 2017-09-17 21:05:57 +02:00
Nils Winkler b106d275a7 Move enable/disable functionality to global enabled directory 2017-09-17 21:05:57 +02:00
Nils Winkler 2581abdf54 Fix some issues that showed the todo.txt-cli aliases in the wrong way 2017-06-24 17:31:31 +02:00
Nils Winkler 94e68b96b5 Fix migration of todo.txt-cli component 2017-06-24 17:31:31 +02:00
Nils Winkler 732b287a57 Run migrate command after a succesful update 2017-06-24 17:31:31 +02:00
Nils Winkler f221f63d7d Add completion for help command, and help for migrate 2017-06-24 17:31:31 +02:00
Nils Winkler 0d9a0987d9 Fixed missing quotes around $BASH_IT variable
This should fix most issues where Bash-it is installed in a directory
containing spaces.
2017-06-24 17:31:30 +02:00
Nils Winkler 951fe918c0 Automatically running migration command when enabling/disabling components 2017-06-24 17:31:30 +02:00
Nils Winkler 0039534517 Renamed a couple of variables 2017-06-24 17:31:30 +02:00
Nils Winkler c2446c2692 Added new "bash-it migrate" command that migrates components from the old syntax to the new one that uses the load priority 2017-06-24 17:31:30 +02:00
Nils Winkler b1481038d8 Improved check for components that are already enabled 2017-06-24 17:31:30 +02:00
Nils Winkler 4e16dfde56 Fixed basename usage for enable all 2017-06-24 17:31:30 +02:00
Nils Winkler 65c6e6a1a6 Disable all command and test case 2017-06-24 17:31:30 +02:00
Nils Winkler cc8621a888 Disabling a single component will support both patterns
The old pattern with just the name (node.plugin.bash) and the new one
with the load priority (250---node.plugin.bash).
2017-06-24 17:31:30 +02:00
Nils Winkler dce0ac5b34 Adjusted show function to use the new format 2017-06-24 17:31:30 +02:00
Nils Winkler feb05b279b Changed enable all functionality to call recursive enable 2017-06-24 17:31:30 +02:00
Nils Winkler 74b15b6385 Reading load priority from file 2017-06-24 17:31:30 +02:00
Nils Winkler 31dd740571 Added default priority for enable 2017-06-24 17:31:30 +02:00
Maik Ellerbrock 017f3f43d0
fix(docker): fixes "bash-it help plugins" error 2017-05-27 02:34:35 +02:00
Dayne Broderson 3450e20857 adding ability to set theme as a path to specific file 2017-03-24 00:23:12 -08:00
Nils Winkler 99bf5f09ad Moved grep alias to general aliases 2017-01-09 18:13:10 +01:00
Nils Winkler 38bfc93270 Merge pull request #834 from edubxb/fix-765
Fix search command for RedHat based distributions
2017-01-03 08:45:33 +01:00
Adam Karim 2a4e27cdba Updating README.
Fixing custom location for themes.
2016-11-29 09:55:13 -08:00
Eduardo Bellido Bellido 5f2a4b5d8b Fix search command for RedHat based distributions 2016-11-14 01:26:10 +01:00