Commit Graph

2893 Commits (ed4d206bf6d383e526140099980d292493ab7634)

Author SHA1 Message Date
Cristian Lupascu ed4d206bf6 Powerline prompt section to display last command duration
Human display of the last command duration, if threshold exceeded

Add configurable threshold for prompt duration display (5s)

Nicer format for the time
2020-08-18 23:29:55 +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
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