Commit Graph

2794 Commits

Author SHA1 Message Date
David Farrell
981929cff0 Fixed quoting on POWERLINE_PROMPT_AFTER 2020-05-16 15:05:26 -07:00
Nils Winkler
f0dcf69857 Merge pull request #1593 from nwinkler/remove-vs-code-plugin
Removed VS Code Plugin, since VS Code provides the `code` command out of the box now
2020-05-13 10:26:56 +02:00
Nils Winkler
0122497e6c Removed VS Code Plugin, since VS Code provides the code command out of
the box now.
2020-05-13 10:25:36 +02:00
Nils Winkler
b9b3d42793 Merge pull request #1589 from rico-chet/test-without-rsync
test: Make `rsync` optional
2020-05-13 10:14:19 +02:00
Nils Winkler
efdd5d930e Merge pull request #1592 from edumco/update-build-badge
Update build badge link to travis-ci.com
2020-05-13 10:08:50 +02:00
José Eduardo Montenegro Cavalcanti de Oliveira
37aff10e58 Update build badge link to travis-ci.com 2020-05-12 05:34:45 -03:00
Alex Thiessen
9f3889c284 test: Make rsync optional
For bulk copying, `rsync` is used in test code, which is rather fast and
capable of saving needless write operations. The downside is that tests
fail when the tool is missing, which is the case with most minimal Linux
setups (e.g. containers or even Gnome installations of Debian).

Provide an alternative way for sufficiently fast copying by means of
`find -exec cp`. Measured total test time penalty is less than 0.5%.
Downside of needless write operations remains in case of fallback.
2020-05-11 02:30:10 +02:00
Nils Winkler
d30483053f Merge pull request #1580 from matthewadams/powerline-plain-prompt-after
add powerline-plain config for prompt after chars
2020-05-08 09:13:37 +02:00
Matthew Adams
8f3872acb8 review2 2020-05-07 13:08:27 -05:00
Nils Winkler
ecf16550fe Merge pull request #1586 from nwinkler/fix-general-bash-it-description
Reworded the text for the general/bash-it alias loading
2020-05-07 08:59:30 +02:00
Nils Winkler
38bb8c087c Reworded the text for the general/bash-it alias loading
Also fixed a ShellCheck warning.

See #1560 for more details.
2020-05-07 08:57:37 +02:00
Nils Winkler
5ed42defc0 Merge pull request #1560 from Wabri/master
Separate bashit alias from general
2020-05-07 08:51:34 +02:00
Matthew Adams
dddb863657 change from feedback 2020-05-02 08:43:08 -05:00
Nils Winkler
bc0e47aec1 Merge pull request #1584 from nwinkler/sshagent-remove-echo
Remove echo when a dead SSH Agent PID is found
2020-05-02 14:47:21 +02:00
Nils Winkler
ec384be4be Remove echo when a dead SSH Agent PID is found
This case can be safely ignored, no need to print a message for that.

Fixes #1579
2020-05-02 14:46:05 +02:00
Nils Winkler
941cf71a77 Merge pull request #1583 from nwinkler/fix-bats-search-plugin
Fix search plugin tests
2020-05-02 14:25:52 +02:00
Nils Winkler
62bf3bf097 Fix search plugin tests
Had to move the `cite` definition up a couple of lines, since `_about`
is used in some of the tested plugins

Fixes #1582
2020-05-02 14:19:15 +02:00
Nils Winkler
54b597a0b6 Merge pull request #1581 from rico-chet/travis-add-job-names
travis: Give jobs names
2020-05-02 13:38:18 +02:00
Alex Thiessen
023802fcd6 travis: Give jobs names
It's easier to read a long job list when the jobs are named.

Reference:
https://docs.travis-ci.com/user/build-stages/#naming-your-jobs-within-build-stages
2020-05-01 20:06:58 +00:00
Matthew Adams
e2150602c7 add powerline config for prompt after chars 2020-05-01 09:17:18 -05:00
Nils Winkler
2831135ed6 Merge pull request #1559 from nwinkler/update-bats-core
Update bats-core to lastest master
2020-05-01 13:53:54 +02:00
Nils Winkler
1953c54a9c Updated to bats-core v1.2.0
Also updated the bats-file remote URL.
2020-04-29 16:03:30 +02:00
Nils Winkler
dba8662a27 Merge pull request #1575 from m8ryx/aws-fix
fix for issue #1418
2020-04-28 08:57:52 +02:00
Rick Rezinas
4835f1905e fix for issue #1418 2020-04-27 21:22:23 -07:00
Nils Winkler
a31f4f0be6 Merge pull request #1499 from jmthvt/feature/unalias-gh
Check gh command exists before setting git gh alias
2020-04-27 08:40:57 +02:00
Jeremy Mathevet
91a96a4af2 gh to alias ghm 2020-04-27 11:45:19 +08:00
Nils Winkler
cbe2986210 Updated test readme 2020-04-22 11:19:18 +02:00
Nils Winkler
e9467825ec Removed assert_link_exist function
This is now provided by the used version of bats-file.
2020-04-22 11:16:10 +02:00
Nils Winkler
bae6bbf429 Merge pull request #1570 from rgutmann/extract-tar-with-archive-directory
added tar extract-directory creation and usage
2020-04-22 10:28:09 +02:00
Nils Winkler
ebae3e41d4 Merge pull request #1571 from davidpfarrell/feature/completion-git
completion/git: Updates completion script to v2.26.2
2020-04-22 10:26:41 +02:00
David Farrell
f8a1877c72 completion/git: Updates completion script to v2.26.2 2020-04-21 11:25:37 -07:00
Ralph Gutmann
306be4dd4f (minor) options fix 2020-04-21 18:34:28 +02:00
Ralph Gutmann
ce160ff314 added tar extract-directory creation and usage (also removal of unnecessary recursion where appropriate) 2020-04-21 18:12:56 +02:00
Nils Winkler
70e0aa0dcd Merge pull request #1569 from ucomesdag/feat/completion
Removed duplicate & updated openshift completion
2020-04-21 15:09:11 +02:00
Uco Mesdag
862b99896d Updated openshift completion to use _command_exists and removed duplicate oc completion 2020-04-21 15:00:14 +02:00
All Your Code
313e9bd51b Added Minishift completion (#1566)
* Added Minishift completion

* Instead of copy pasting the output, using the output directly

* Replaced which command with _command_exists
2020-04-21 08:32:20 +02:00
All Your Code
06cc400229 Added OC completion (#1567)
* Added OC completion

* Instead of copy pasting the output, using the output directly

* Replaced which command with _command_exists
2020-04-21 08:30:26 +02:00
Nils Winkler
d6e559f424 Fixed indentation 2020-04-21 08:25:41 +02:00
Nils Winkler
543e49b759 Updated GNU parallel detection
Thanks to @rico-chet for the detection code!
2020-04-21 08:25:40 +02:00
Nils Winkler
9269c4445d Went back to the bats-file temp_make function
Switching to tralston/bats-file allowed to use temp_make on macOS.
2020-04-21 08:25:40 +02:00
Nils Winkler
eb6469096a Added the parallel test execution code from @rico-chet
See here: cd4a039215/test/run (L22)
2020-04-21 08:25:40 +02:00
Nils Winkler
bc433cd999 Fixing the mktemp function on Linux 2020-04-21 08:25:40 +02:00
Nils Winkler
818a95d79c Refactored test setup code
Removed the copy/paste code, moved it into a reusable function that can
be called from the `local_setup` function as needed. Also simplified the
handling of the $HOME variable since @rico-chet provided a better way of
doing this.
2020-04-21 08:25:40 +02:00
Nils Winkler
34993f5da3 Excluding enabled directory when setting up test fixtures 2020-04-21 08:25:40 +02:00
Nils Winkler
3093273425 Updated rsync command to work with latest version of bats-core 2020-04-21 08:25:39 +02:00
Nils Winkler
c53cc9f143 Updated bats-core to latest version 2020-04-21 08:25:39 +02:00
Nils Winkler
9cf56cf47b Merge pull request #1568 from rico-chet/add-gitmodules-to-editorconfig
editorconfig: Add `.git*` section
2020-04-21 08:20:08 +02:00
Alex Thiessen
4ad790aa47 editorconfig: Add .git* section
Configuration files of `git` are managed by the tool and thus are
tab-indented. If a developer happens to edit such a file manually, the
indentation would become inconsistent.

Add an explicit section for such files and set the indentation to tabs.
2020-04-20 21:07:35 +02:00
Nils Winkler
3d1da4da4f Merge pull request #1564 from nwinkler/update-bats-file
Updated bats-file to https://github.com/tralston/bats-file v0.3.0
2020-04-20 09:15:46 +02:00
Nils Winkler
f698261487 Updated to https://github.com/tralston/bats-file v0.3.0 2020-04-20 09:00:52 +02:00