Commit Graph

2987 Commits (da9b7100144c3ada2ec24e35aa3038429b96678c)

Author SHA1 Message Date
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
Noah Gorny 3e7a95660f lib: Add _has_colors function and use it in log output 2020-06-23 15:42:22 +03:00
Noah Gorny 862c154793 docs: Add bash-it doctor and logs documentation 2020-06-23 15:12:43 +03:00
Noah Gorny 1e674643b3 completion: Add bash-it doctor completion
Also fix the tests and add a new one
2020-06-23 15:12:43 +03:00
Noah Gorny 86824a93ed helpers: Add bash-it doctor command 2020-06-23 15:12:43 +03:00
Noah Gorny 802c45b401 lib: Add log module 2020-06-23 15:12:43 +03:00
Nils Winkler 8b0c776b98
Merge pull request #1622 from NoahGorny/gitstatusd
Gitstatusd support take 2
2020-06-23 08:55:08 +02:00
Noah Gorny a697fd2c53 plugins: Tidy gitstatus plugin comments and code 2020-06-22 14:57:06 +03:00
Noah Gorny d7aebe17a3 plugins: Rename SCM_GIT_GITSTATUS_PLUGIN_SH_LOC to SCM_GIT_GITSTATUS_DIR
Also fix the destructor in case plugin did not load as expected
2020-06-22 14:57:06 +03:00
Noah Gorny 3eac73f613 plugins: Rename gitstatusd plugin to gitstatus 2020-06-22 14:57:05 +03:00
Noah Gorny 6294797986 Rename SCM_GIT_GITSTATUSD_LOC to SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC 2020-06-22 14:56:13 +03:00
Noah Gorny 1143bb8ddf plugins: Add disable callback for gitstatusd 2020-06-22 14:56:13 +03:00
Noah Gorny bda85c3679 lib: Add on-disable-callback for plugins to use 2020-06-22 14:56:13 +03:00