Commit Graph

1985 Commits (4a6db6ff835d71f40a791ee8f7f8976f6c3e3a31)

Author SHA1 Message Date
Jean Jordaan 16ad3e6149 Add linebreaks for long single-line paragraphs
Also some small punctuation and phrasing improvements in README.md
2017-10-02 12:23:25 +07:00
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 47041bc817
Add bash-it completion for version command
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-09-29 17:15:14 -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
Nils Winkler 3f839d5ac2 Merge pull request #1033 from jean/master
Do we need to explicity `rm` tempfiles?
2017-09-29 08:19:19 +02:00
Travis Swicegood ba10f9f6d6 Merge pull request #1048 from miketheman/update-brew-completion
Update brew completion
2017-09-28 14:25:46 -04:00
Jean Jordaan ca6a1ae2db Use 'mktemp -t', leave tempfile cleanup to the OS 2017-09-28 21:54:58 +07:00
Jean Jordaan 1e912253ff Refer to /data/data/com.termux/files/home/git/bash-it, quote literal 2017-09-28 21:42:04 +07:00
Mike Fiedler 23da5508cc
Reduce subshell forks with variable
By following the established pattern in https://github.com/Bash-it/bash-it/blob/master/completion/available/system.completion.bash#L17-L22
we can reduce the amount of `fork` calls that are made.

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-09-28 07:13:45 -04:00
Mike Fiedler cbe63e8871
Replace system completion with current brew file
Resolves #1046

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-09-28 06:36:30 -04:00
Nils Winkler a75a53b786 Merge pull request #1043 from nwinkler/enabled-global
Move enabled components to a global directory
2017-09-28 08:05:58 +02:00
Nils Winkler 5a92d26cab Merge pull request #1040 from pmoranga/fix_trap_subshell
Fix execution of trap DEBUG on subshells
2017-09-25 10:12:00 +02:00
pmoranga 0fc26dfad2 Add some description 2017-09-22 12:24:15 +02:00
Nils Winkler 3f6f1326dc Fixed ruby test for good (hopefully) 2017-09-17 21:05:59 +02:00
Nils Winkler 3103609640 Reverted Ruby path fix 2017-09-17 21:05:59 +02:00
Nils Winkler 548563e7aa Trying to fix path issue 2017-09-17 21:05:59 +02:00
Nils Winkler f4fa9def14 Fixed the ruby path test in cases where someone already has the ruby bin path on their path variable 2017-09-17 21:05:59 +02: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 0fe2710c61 More unit tests for loading from global directory structure 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 fb6fcaeb06 Fixed test case where the bash_it.sh would fail with a non-zero return value
This was caused by the way the check for installed preview apps was handled.
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 1a80d892ad Made sorting of completions consistent across OS 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 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 b37da4e1f0 Updated documentation for global directory 2017-09-17 21:05:58 +02:00
Nils Winkler be9b0e71c4 Removed test filter 2017-09-17 21:05:58 +02:00
Nils Winkler 2acb87e882 Fixed some more shellcheck complaints 2017-09-17 21:05:58 +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 653437e2e1 Some more tests for 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 757d2b4ed9 Removed unused variable 2017-09-17 21:05:58 +02:00
Nils Winkler 4caed3d6d5 Ignoring files in global enabled directory 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 298b9c6455 Added test case for completion "help aliases v" 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 688d0cb540 Some more test cases 2017-09-17 21:05:58 +02:00
Nils Winkler 05696df361 Additional test cases for completions with dashes and dots 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