Commit Graph

29 Commits (33239845940dbe616d3c250ad622b404a0295aa3)

Author SHA1 Message Date
Piotr Rogoża 89d1661d23 Replaced reload section with proper function.
Added completion for reload.
Fixed order in completion
Added unit tests for completion
The variable BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE has to be unset.
2018-04-18 21:51:20 +02:00
Piotr Rogoża b1dbf2f7e0 Added additional parameter for bash-it: reload
Added creating an alias if command does not exist
2018-04-18 21:51:20 +02:00
Mike Fiedler 47041bc817
Add bash-it completion for version command
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-09-29 17:15:14 -04:00
Nils Winkler 1a80d892ad Made sorting of completions consistent across OS 2017-09-17 21:05:59 +02:00
Nils Winkler 5c66f478dd Completed test suite for Bash-it completion 2017-09-17 21:05:58 +02:00
Nils Winkler cd578f8772 More tests for completion 2017-09-17 21:05:58 +02:00
Nils Winkler 757d2b4ed9 Removed unused variable 2017-09-17 21:05:58 +02:00
Nils Winkler c786c14859 Fixed "bash-it help aliases" completion - it will now show the available aliases 2017-09-17 21:05:58 +02:00
Nils Winkler e0dc7997c8 Fixed handling of components with dashes or dots in the name for completion 2017-09-17 21:05:58 +02:00
Nils Winkler ec327486ef Checking global directory for completions as well 2017-09-17 21:05:58 +02:00
Nils Winkler 607c9cd049 Cleaned up declarations 2017-09-17 21:05:58 +02:00
Nils Winkler 22674ce1e0 Replaced -e glob-based implementation with ls 2017-09-17 21:05:58 +02:00
Nils Winkler a925f5d58c Checking for global directory when looking for components that are not enabled 2017-09-17 21:05:58 +02:00
Nils Winkler 752d4afe41 Tabs to spaces 2017-09-17 21:05:58 +02:00
Nils Winkler 7a3603f80d Sorting compgen output so that the returned values are in ascending order 2017-09-17 21:05:58 +02:00
Nils Winkler e7298a5303 Fixed case where nothing was enabled 2017-09-17 21:05:58 +02:00
Yushin Washio d98a0038d3 bash-it.completion suppress ls error when none found 2017-08-17 17:08:58 +05: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 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 56d0f56714 Filter out items that are already enabled 2017-06-24 17:31:30 +02:00
Nils Winkler 2e0ceba776 Supporting both old and new link structure for completion 2017-06-24 17:31:30 +02:00
con-f-use 43a63965ee Alias and complete common misspellings of bash-it 2017-03-17 20:29:02 +01:00
Konstantin Gredeskoul fd3d305fad Faster search, and cleaner completion 2016-03-24 02:54:30 -07:00
Konstantin Gredeskoul c0a657270c Add bash-it search functionality
- "bash-it search term1 [term2]...."

 - we are using existing 'bash-it show plugins|aliases|completions'
   commands output, to search (with grep) for lines that match the
   search terms, and then output the matches.

 - wrote a simple unit test that for whatever reason fails on Travis,
   so wrapped it in 'if "Darwin"'...
2016-03-23 23:13:51 -07:00
Eduardo Bellido Bellido 5c6de8ca67 Add new udpate command to Bash it completion 2016-02-05 18:48:32 +01:00
crazygit a42e5f4d73 add bulk enable or disable function 2015-10-23 00:07:35 +08:00
Nils Winkler d29d6df2f2 Added support for `bash-it help completions` command.
It's showing the same output as `bash-it show completions`,
to keep things simple.
2015-03-23 08:18:48 +01:00
Nils Winkler 4261f3d8ec Added completion (show, help, enable, disable) for the bash-it function 2012-11-13 14:16:21 +01:00