Commit Graph

2949 Commits (c7d67aedb96118fe7619423dc3f2f79a2630e10a)

Author SHA1 Message Date
cornfeedhobo f40bfa80f1
system completion nitpicks
- General cleanup of system completion
- Use homebrew's completion loading script instead
- Deprecate completions covered by system
- Adjust load priority of brew to happen after system
2020-09-21 09:07:09 -05:00
Nils Winkler 7dd5b3a67f
Merge pull request #1658 from oliverralbertini/stop-hexdump-squeezing
hg SCM_CHANGE: prevent hexdump squeezing
2020-09-21 08:34:04 +02:00
Oliver Ruben Albertini ba02955340 hg SCM_CHANGE: prevent hexdump squeezing
hexdump by default will replace any repeated groups with an asterisk and
a newline, which breaks prompts. This can be disabled with the `-v`
flag. For example:

```
printf 'aac' | hexdump -e '1/1 "%02x"'
61*
63
printf 'abc' | hexdump -e '1/1 "%02x"'
616263
printf 'aac' | hexdump -ve '1/1 "%02x"'
616163
```
2020-09-12 09:58:37 -07:00
Nils Winkler 03afc5f046
Merge pull request #1656 from NoahGorny/add-warning-to-gitstatus
gitstatus: Add informative warning in case dir is not found
2020-09-09 20:48:45 +02:00
Noah Gorny 91b6561e93 gitstatus: Add informative warning in case dir is not found 2020-09-05 22:52:19 +03:00
Nils Winkler c5994d28f4
Merge pull request #1655 from guilhermepaula/master
[robbyrussell theme] Cleaning up bold markup after theme
2020-09-02 07:30:55 +02:00
Guilherme Paula d8a0e8444d [robbyrussell theme] Cleaning up bold markup after theme 2020-09-01 13:52:50 -03:00
Nils Winkler 45ae15139d
Merge pull request #1645 from cornfeedhobo/cnf-optional-message
_command_exists - custom log message
2020-08-11 08:47:10 +02:00
Nils Winkler 9cc9bd5932
Merge pull request #1650 from nwinkler/git-completion-darwin-fix
Fixed OS comparison for macOS
2020-08-10 09:09:30 +02:00
Nils Winkler 230bafd0d1
Fixed OS comparison for macOS
This was always failing on macOS instead of working there...

See #1635 for the original commit that introduced this issue.
2020-08-10 09:06:36 +02:00
Nils Winkler 24ed7c6b09
Merge pull request #1649 from likan999/patch-1
Fix error "bash: _git_bash_completion_found: command not found..."
2020-08-10 09:04:51 +02:00
Kan Li 41084ee678
Fix error "bash: _git_bash_completion_found: command not found..." 2020-08-08 22:09:43 -07:00
cornfeedhobo 42e9017df3
simplify git completion to use system-provided completions only (#1635)
* simplify git completion to use system-provided completions only

* support ubuntu git completion

* only search non-system paths

* only operate on macos.

* no need to return 1 in a plugin

* make alias test happy

* make alias test happy

* make alias test happy

* pass exit code when capturing expected errors

* slightly more understandable code structure

* make better use of the new logging feature
2020-08-08 22:14:41 +02:00
Nils Winkler f120554755
Merge pull request #1648 from nwinkler/fix-alias-completion-tests
Fixed test execution
2020-08-05 10:47:47 +02:00
Nils Winkler 03e9124edb
Fixed test execution 2020-08-05 10:36:29 +02:00
Nils Winkler 43ea66332b
Merge pull request #1647 from nwinkler/fix-search-tests-log
Adding log library to search tests
2020-08-04 11:09:12 +02:00
Nils Winkler 2f91e95af6
Adding log library to search tests
This might help with #1635.
2020-08-04 10:58:25 +02:00
Nils Winkler 8134748b27
Merge pull request #1646 from cornfeedhobo/terraform-completion
Use terraform to complete itself
2020-08-04 08:23:28 +02:00
cornfeedhobo e4b856b67b
use terraform to complete itself 2020-08-03 17:41:21 -05:00
cornfeedhobo 97bb1fc7ba
allow the caller to pass a custom log message when the command is not found 2020-08-03 14:20:04 -05:00
Nils Winkler 347b6bbb31
Merge pull request #1644 from cornfeedhobo/cleanup-jenv
clean up jenv to follow the newer pattern
2020-08-03 09:09:02 +02:00
cornfeedhobo 6b66fbf88c
clean up jenv to follow the newer pattern 2020-07-30 07:50:35 -05:00
Nils Winkler 43ef48544d
Merge pull request #1627 from NoahGorny/fix-alias-completion-plugin
plugins: Fix quotes around prec_word agruments
2020-07-15 08:54:56 +02:00
Nils Winkler f8d1a1c2d7
Merge pull request #1642 from cornfeedhobo/projects-logging
Projects logging
2020-07-13 11:11:35 +02:00
Nils Winkler 68cd78db29
Merge pull request #1639 from cornfeedhobo/cleanup-fzf-plugin
Minor cleanups to fzf plugin
2020-07-13 10:10:30 +02:00
cornfeedhobo 67d359d615
attempt to simplify the description 2020-07-12 16:21:14 -05:00
cornfeedhobo 4734505af8
add logging for improperly prepared environments and better error handling. 2020-07-12 16:20:50 -05:00
cornfeedhobo cf47e1f93e
nit pick spacing 2020-07-12 12:37:00 -05:00
cornfeedhobo ca409b699d
minor cleanups to fzf plugin 2020-07-12 12:33:29 -05:00
Nils Winkler ec71fd57bc
Merge pull request #1637 from blueberrystream/feature/sftp-complation
completion/ssh: support sftp command
2020-07-10 09:01:08 +02:00
KID the Euforia e9c01e1843
completion/ssh: support sftp command
Signed-off-by: KID the Euforia <kid0725+github@gmail.com>
2020-07-09 18:51:48 +09:00
Nils Winkler 63fc3e76bf
Merge pull request #1636 from cornfeedhobo/cleanup-node-plugin
Ensure node plugin plays nice with nodenv
2020-07-09 11:29:49 +02:00
cornfeedhobo 1c06c0ab61
cleanup node plugin, and make it play nice with nodenv 2020-07-08 11:32:12 -05:00
Nils Winkler be2180c365
Merge pull request #1634 from nwinkler/custom-log-fix
Added missing colon and space while loading custom files
2020-07-07 13:19:27 +02:00
Nils Winkler e0ee6bd32f
Added missing colon and space while loading custom files
Looks like I missed this during my review, @NoahGorny
2020-07-07 13:17:17 +02:00
Nils Winkler 2814946d86
Merge pull request #1628 from NoahGorny/add-load-logs
Add load/reloader logs
2020-07-07 13:10:32 +02:00
Noah Gorny 72dbfd2480 lib: log: Insert log level before message prefix
Also fix tests accordinly
2020-07-02 21:11:40 +03:00
Noah Gorny 3069af37e0 tests: Include lib log 2020-07-02 21:11:40 +03:00
Noah Gorny e6ebcda608 log: Fix logging to comply with the tests 2020-07-02 21:11:40 +03:00
Noah Gorny 8d9f81fce0 lib: Add get-component-name/type-from-path 2020-07-02 20:13:57 +03:00
Noah Gorny 811c9ecd71 bash-it: Reorder main bash-it.sh so logs can happen 2020-07-02 20:13:57 +03:00
Noah Gorny 8a3cf76307 lib: Move _has_colors to log module 2020-07-02 20:13:42 +03:00
Noah Gorny 5daecc9381 lib: Log in case _command_exists fails 2020-06-30 20:58:09 +03:00
Noah Gorny 6a4142ced7 scripts: Add logs to reloader.bash 2020-06-30 20:58:09 +03:00
Noah Gorny 453c17de3d bash-it: Add logs to bash-it.sh 2020-06-30 20:58:09 +03:00
Noah Gorny 0053f27820 test: Add alias-completion plugin test 2020-06-28 11:37:08 +03:00
Noah Gorny 9a23725ce0 log: Add BASH_IT_LOG_PREFIX option
Also add a new test to check it
2020-06-25 00:16:16 +03:00
Noah Gorny a224d65f5b plugins: Fix quotes around prec_word agruments 2020-06-24 15:11:49 +03:00
Nils Winkler afbb7e18e1
Merge pull request #1623 from NoahGorny/bash-it-doctor
Bash it doctor command + log functions
2020-06-24 10:20:11 +02:00
Noah Gorny 5263f5ac59 test: Add lib log basic testing 2020-06-23 15:59:14 +03:00