Commit Graph

1942 Commits (41fe5953dd573ae55a942bf157fa585438edef5f)

Author SHA1 Message Date
Nils Winkler 41fe5953dd Merge pull request #1058 from tanzeeb/patch-1
Change default $GOPATH to $HOME/go
2017-10-14 17:53:26 +02:00
Tanzeeb Khalili 0cef421c97 Change default $GOPATH to $HOME/go
As of Go v1.8, $HOME/go is the default $GOPATH. See https://github.com/golang/go/issues/17262 for the discussion.
2017-10-14 02:13:55 -04:00
Nils Winkler 9f02aa5028 Merge pull request #1056 from miketheman/patch-1
Update docker-compose plugin
2017-10-13 19:52:07 +02:00
Nils Winkler c1eb05cd24 Merge pull request #1052 from jean/master
Break lines on sentences or phrases
2017-10-13 19:51:29 +02:00
Mike Fiedler 14261ec5ea Update docker-compose plugin
The `--all` flag was removed in docker-compose 1.7.0 last year. https://github.com/docker/compose/pull/3466

Currently produces:
```
WARNING: --all flag is obsolete. This is now the default behavior of `docker-compose rm`
```
2017-10-10 09:01:39 -04:00
Jean Jordaan ce6fc1aa9b Merge branch 'master' of github.com:Bash-it/bash-it 2017-10-08 12:44:34 +07:00
Travis Swicegood 3bad26796f Merge pull request #1050 from miketheman/bash-it-version
Add version to bash-it command
2017-10-02 10:49:27 -04:00
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