Commit Graph

3123 Commits (436381de935daa0db2c5b4d010bfa8366b9f39e8)

Author SHA1 Message Date
Noah Gorny 96295e92a5 lib: Improve bash-it update so it can update to latest tag 2020-10-13 14:42:02 +03:00
Noah Gorny d46fc18bd4 alias: git: Add new pretty git log alias (ggf) 2020-10-13 14:41:06 +03:00
Noah Gorny 5dc1c1d589 alias: git: Add git pull / git push --force aliases 2020-10-13 14:37:43 +03:00
Noah Gorny f4279e63c1 Add bash-it restart command
Also add completion and completion tests
2020-10-12 15:29:36 +03:00
Nils Winkler 21d094ed5a
Merge pull request #1670 from NoahGorny/add-github-cli
Add GitHub cli
2020-10-12 08:19:38 +02:00
Nils Winkler bc7db11ff2
Merge pull request #1671 from NoahGorny/improve-auto-reload
helpers: Auto reload now only reloads and not reset the shell
2020-10-12 08:17:28 +02:00
Noah Gorny 24c05995e7 helpers: Auto reload now only reloads and not reset the shell 2020-10-10 04:02:30 +03:00
Noah Gorny 92a1310bc2 Remove deprecated and unused gh completion/plugin 2020-10-10 02:54:58 +03:00
Noah Gorny e010512dee completion: github: Use _log_warning instead of simple echo 2020-10-10 02:41:45 +03:00
Travis Swicegood 582ea5c260 Update based on @nwinkler's feedback 2020-10-10 02:39:05 +03:00
Travis Swicegood ac3957393e Update tests so github-cli is expected 2020-10-10 02:39:02 +03:00
Travis Swicegood 11819278b4 Add GitHub CLI completion 2020-10-10 02:36:17 +03:00
Nils Winkler 8a8a9018bb
Merge pull request #1668 from zzhengnan/master
Make bobby and bobby-python themes more readable
2020-10-02 10:40:45 +02:00
Nils Winkler 29951e6f9e
Merge pull request #1667 from phreakocious/color_fix
fix  __color_rgb function to properly compare r,g,b as variables
2020-10-02 10:28:00 +02:00
Zhengnan Zhao f3cb4e5122 Make bobby and bobby-python themes more readable 2020-10-01 23:45:57 -04:00
phreakocious ee7075b5f1 add that pesky dollar sign 2020-10-01 08:07:18 -07:00
phreakocious 5e101fce34 fix __color_rgb function to properly compare r,g,b as variables and not lettersg 2020-09-30 22:09:42 -07:00
Nils Winkler 49a021ebd8
Merge pull request #1663 from BeameryEdge/hotfix/test_command_exists
Fix the _command_exists function exists test use case
2020-09-25 08:50:11 +02:00
Nils Winkler d1a00edf1c
Merge pull request #1661 from 8F3E/barbuk-python-venv
Detect python venv and show in prompt
2020-09-25 08:35:57 +02:00
Ahmad Assaf 95b60098cd
Update helpers.bats
Fix the `assert_success` by adding the required `run`
2020-09-24 05:20:04 -07:00
8F3E 43dfe23d10 Declare python_venv as a local variable 2020-09-23 11:32:18 +01:00
Nils Winkler 4365fa8d69
Merge pull request #1641 from cornfeedhobo/system-completion-nitpick
System completion nitpick
2020-09-23 08:27:57 +02:00
8F3E 185257e971 Detect python venv and show in prompt 2020-09-22 11:31:05 +01:00
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