Noah Gorny
bf2034d13d
Merge pull request #2158 from bittner/patch-2
...
Verbose version of `git add` (gav)
2022-09-28 12:04:38 +03:00
Noah Gorny
8bedbe47a7
Merge pull request #2161 from brianphillips/patch-2
...
Update variable name to match projects.plugin.bash
2022-09-13 20:08:18 +03:00
Brian Phillips
e5e7785c96
Update variable name to match projects.plugin.bash
...
The projects plugin was changed to reference `BASH_IT_PROJECT_PATHS` but the completion was still using `PROJECT_PATHS`
2022-08-30 13:21:03 -05:00
Peter Bittner
3294df5d3e
Verbose version of `git add` (gav)
2022-08-26 07:04:07 +02:00
Noah Gorny
d770030513
Merge pull request #2154 from jakebman/gitlab-runner-deprecation
...
Update Gitlab Runner images
2022-08-17 07:17:42 +03:00
Jake Boeckerman
407f2f5b5f
Update github runner images
...
Github deprecated and will remove two runner images
macos-10.15 will be removed on 2022-08-30
macos-12 is available
https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/
ubuntu-18.04 will be removed on 2022-12-01
ubuntu-22.04 is available
https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/
2022-08-12 11:39:22 -06:00
John D Pell
5a62acd253
Merge pull request #2152 from thomasmerz/issue_2151
2022-08-11 09:08:37 -07:00
Thomas Merz
129340d24d
Issue 2151 🛂 do not give users a root shell by executing arbitrary shell commands by 'vim'
...
also by removing 'sudo' aliases because bash-it should not be
the business of mucking about with sudo at all
2022-08-11 17:22:57 +02:00
Noah Gorny
2ef5d483e3
Merge pull request #2135 from tbhaxor/improve/flutter-completion
...
Clean flutter completions
2022-05-19 00:11:54 +03:00
Noah Gorny
03b3a977aa
Merge pull request #2147 from davidpfarrell/dirs-bks
...
plugin(dirs): Create backup file parent directory
2022-05-19 00:01:58 +03:00
David Farrell
c0dc83edfc
plugin(dirs): Create backup file parent directory
2022-05-09 13:08:52 -07:00
Noah Gorny
4dddba3bc6
Merge pull request #2145 from tbhaxor/bugfix/docs
...
Upgrade the sphinx version
2022-05-07 23:29:43 +03:00
Gurkirat Singh
c2698882e4
fix (docs): ugraded sphinx version
2022-05-07 00:32:15 +05:30
Gurkirat Singh
135d480c7d
improve (docs): exclude venv pattern in build
2022-05-07 00:31:21 +05:30
Gurkirat Singh
e11576f260
fix (completion): shfmt format flutter.completion.bash
2022-05-06 23:32:47 +05:30
Gurkirat Singh
d7fb6b3235
improve (lint): add completion/available/flutter.completion.bash entry
2022-05-06 23:32:45 +05:30
Noah Gorny
35334cdcb0
Merge pull request #2121 from BarbUk/update/theme_barbuk
...
Update of barbuk theme (add modular blocks)
2022-04-13 00:22:04 +03:00
Noah Gorny
b95094153f
Merge pull request #2139 from tbhaxor/patch-3
...
Improve bashit upgrade function git log and add missing popd
2022-04-06 23:06:52 +03:00
Gurkirat Singh
6ccd9f5adf
fix (helpers): bashit_update function return to source path and --no-merges in log
2022-03-21 08:52:46 +05:30
Noah Gorny
1ffbc85a62
Merge pull request #2138 from eviweb/fix-projects-plugin-regression
...
fix projects plugin regression
2022-03-16 21:54:51 +02:00
Noah Gorny
60c4c0b598
Merge pull request #2132 from NoahGorny/add-default-editor-nano
...
general: Add default nano editor for the edit alias
2022-03-16 21:47:02 +02:00
Eric Villard
088212fd32
fix projects plugin regression
...
This regression was introduced in ea2002a .
Before this commit, when the provided project was unique under all the
project paths, the command automatically change the directory to it.
Currently this is no more the case.
If there are many project paths set, then the project path menu is shown
at every call.
This PR solves this issue.
Signed-off-by: Eric Villard <dev@eviweb.fr>
2022-03-16 08:43:52 +01:00
Noah Gorny
d1b831a92d
Merge pull request #2119 from BarbUk/fix/command_duration_precision
...
Fix/command duration precision
2022-03-14 11:59:27 +02:00
Noah Gorny
69407018a7
Merge pull request #2129 from tbhaxor/fix/awscli-completion
...
Clean awscli completion
2022-03-14 11:55:44 +02:00
Noah Gorny
a481ff41ab
general: Add default nano editor for the edit alias
2022-03-14 11:20:40 +02:00
Noah Gorny
7cc2ced3b9
Merge pull request #2122 from BarbUk/fix/grep_path
...
Fix grep path when a grep alias exists
2022-03-14 10:58:48 +02:00
Gurkirat Singh
66fbed7f6f
fix (completion): format awscli
2022-03-13 05:21:13 +05:30
Gurkirat Singh
6b0ca17df0
improve (lint): add awscli.completion.bash in clean_files.txt
2022-03-13 05:20:57 +05:30
BarbUk
23efb39fb0
Fix grep path when a grep alias exists
2022-03-11 09:08:58 +01:00
BarbUk
9a71556b99
shfmt needs more spaces
2022-03-09 22:04:18 +01:00
BarbUk
e1ddf6e311
Fix dynamic clock icon ( #2120 )
...
* Fix dynamic clock icon
* Use printf variable scope
* shfmt do not like spaces
2022-03-09 22:59:48 +02:00
BarbUk
0068315c35
Update documentation
2022-03-09 21:38:03 +01:00
BarbUk
b839294827
Complete rework
2022-03-09 21:29:51 +01:00
BarbUk
634c1f8c18
Fix spacing in string output
2022-03-09 11:01:53 +01:00
BarbUk
4686ce1f12
Fix precision to use deciseconds instead of nanoseconds
2022-03-09 09:38:16 +01:00
Noah Gorny
a6fd93076d
Merge pull request #2114 from NoahGorny/fix-preview
...
Fix bash-it preview
2022-03-08 16:59:02 +02:00
Noah Gorny
13531c9534
lib: search: Increase delay in _bash-it-flash-term to 0.2 secs
2022-03-08 00:02:23 +02:00
Noah Gorny
77c135956d
lib: preview: Load only bash-it.sh when previewing
...
Otherwise you change your theme to your default...
2022-03-08 00:01:37 +02:00
Noah Gorny
23ac376f10
Merge pull request #2110 from tbhaxor/feature/osx-alias
...
Add open brave browser alias
2022-03-07 00:25:36 +02:00
Ira Abramov
ec6d371db8
Add a 'theme' for OMP, so the internal themes don't clash with it. ( #2100 )
...
* Add a 'theme' for OMP, so the internal themes don't clash with it.
* Add theme to clean_files
* Add screenshot to the docs
* Correct the name of the default theme in the docs.
* keeping it cleaner
Co-authored-by: Ira Abramov <github@ira.abramov.org>
2022-03-07 00:23:49 +02:00
John D Pell
db6fd42104
Merge pull request #2108 from tbhaxor/patch-3
...
fix test file path in `clean_files.txt` from the 7fcad6e commit
2022-03-06 12:17:25 -08:00
Gurkirat Singh
f2b4d82527
feature (alias): add open brave browser
2022-03-06 12:00:23 +05:30
Gurkirat Singh
55e698a737
fix test file path from the 7fcad6ed0d commit
2022-03-06 04:25:33 +05:30
John D Pell
3a778072db
Merge pull request #1906 from gaelicWizard/command_duration
...
Revamp command duration helper/plugin
2022-03-04 13:00:05 -08:00
John D Pell
866e5be86b
lib/command_duration: tests & whitespace
2022-03-04 12:58:07 -08:00
John D Pell
1c2fc2837f
lib/command_duration: adopt `_bash_it_library_finalize_hook`
2022-03-04 12:58:07 -08:00
John D Pell
4e0e59230b
lib/command_duration: rename `theme/command_duration.theme`
...
Rename the `theme/command_duration.theme` file as it's not really got anything to do with theming or SCM.
2022-03-04 12:58:07 -08:00
John D Pell
6ca10cf84c
plugin/cmd-returned-notify: Rewrite to match/use `lib/command_duration`
...
Use `$EPOCHREALTIME` (or `$SECONDS`) built-in variable provided by Bash instead of `date +%s`. We're only measuing the difference in seconds, so avoid both the binary invocation as well as the subshell.
Alsö, Reduce environmental pollution by not exporting every variable, and unsetting when done.
Change variable names to match lib/command-duration
Remove `preexec_return_notification()` in favor of `lib/command-duration`'s `_command_duration_pre_exec()`.
This should now use the same preexec hook and variables as the theme library `command_duration`.
tests: handle nanoseconds
2022-03-04 12:58:07 -08:00
John D Pell
33505d4db1
lib/command_duration: Refactor using `$EPOCHREALTIME`
...
Fallback to `$SECONDS` for older versions of _Bash_.
Instead of shortcircuiting the definition, just short-circuit the function. This allows the variable to be set later, e.g. on theme change.
2022-03-04 12:58:07 -08:00
John D Pell
09e8c25b64
lib/command_duration: dynamic clock hand
...
Calculate the position (from 1 to 12) of the hour hand on the clock emoji used for the _command_duration string.
Expressly handle COMMAND_DURATION_COLOR as blank when undefined.
2022-03-04 12:39:58 -08:00