3964 Commits

Author SHA1 Message Date
Gurkirat Singh
e38696a0ac fix (completion): suppress 1091 in brew (#2130) 2023-02-23 10:38:04 -08:00
OMEGA_RAZER
af11a50854 Allow for longer command min duration (#2198)
Allows for setting "COMMAND_DURATION_MIN_SECONDS" to more than 60 seconds without adding to prompt. Previously always showed with lengths over 60 seconds regardless of setting.
2023-02-22 08:24:30 -08:00
Gurkirat Singh
05ef68acbc Implement yarn completion (#2190)
* feat (completion): add yarn completion
2023-02-22 08:20:45 -08:00
Gurkirat Singh
78f88406cf Fix lint errors in multiple files (#2192)
* fix (plugins): enable interpretation of backslash escapes in colors
* fix (lint): disable SC2317 in install.sh
* fix (lint): SC2086 in agnoster theme
* fix (lint): remove exit from install.sh as it is already implemented in the calling function
2023-02-22 08:19:12 -08:00
BF
feb468b517 bug: Use C style strings when checking for invalid alias characters (#2188)
* Use C style strings when checking for invalid alias characters

Before, the '\n' would be interpreted as 'n' meaning that any alias
who's command contained the letter 'n' would incorrect be skipped.

* No need to escape characters in this context

Escaping was just adding \ to the list multiple times

Co-authored-by: David Farrell <davidpfarrell+github@gmail.com>
2023-01-25 15:56:14 -08:00
Noah Gorny
66ae9b0de8 Remove libra chat reference
We will try to use Github Discussions now.
2022-12-06 00:22:27 +02:00
Noah Gorny
2e52d2a77c Merge pull request #2109 from tbhaxor/feature/terraform-alias
Add terraform init alias
2022-12-06 00:15:40 +02:00
Noah Gorny
4c2e644db1 Merge pull request #2159 from bittner/patch-3
Add more aliases for `git branch`, use long form
2022-12-05 23:15:13 +02:00
Peter Bittner
f0941e9ba2 Add more aliases for git branch, use long form
Git can list local branches, remote branches, and both of them together.
Let's use the long form of the options to make the aliases quicker to understand.

As agreed in PR #2159, we introduce gbl and replace gba/gbr by gbla/gblr.
gbl/gbla/gblr allow wildcard arguments for filtering branch names.
2022-12-05 11:01:57 +01:00
Noah Gorny
ad2b55804e Merge pull request #2172 from davidpfarrell/bug/duration_locale
bug: Use en_US when fetching EPOCHREALTIME
v3.0.3
2022-12-04 00:42:05 +02:00
Noah Gorny
ec3c06fa33 Merge pull request #2166 from cornfeedhobo/rename-kubectl-alias-func
remove function wrapper around kubectl aliases
2022-12-04 00:39:49 +02:00
Noah Gorny
686a5e45cb Merge pull request #2146 from dylanjtuttle/update_bash_branch
Added update-bash section in README
2022-12-04 00:39:17 +02:00
Noah Gorny
cfe46e3d36 Merge pull request #2170 from Royalsspirit/fix/parrot-theme-escape-sequence
fix(theme): use correct escape sequence to avoid weird text overwriting
2022-12-04 00:37:47 +02:00
cornfeedhobo
5f59cb5438 remove function wrapper around kubectl alias registration 2022-10-31 08:08:10 -05:00
David Farrell
7c7e4f90ec bug: Use en_US when fetching EPOCHREALTIME
Isolates fetching of EPOCHREALTIME to a function which sets LC_ALL=en_US.UTF-8.
This ensures that the value is in decimal format, regardless of runtime locale.

bug: Hide duration when no command executed
2022-10-30 15:18:09 -07:00
David Farrell
1c9cfd056b bug:Install shellcheck wget (#2173)
Installs shellcheck via wget of github release for 'stable' linux version
2022-10-30 15:15:28 -07:00
gmajkic
7c77223b15 fix(theme): use correct escape sequence to avoid weird text overwriting 2022-10-14 09:43:51 +02:00
David Farrell
00062bfcb6 chore: Use grep -E / grep -F instead of egrep / fgrep (#2164)
Ensures that the -E or -F option, when used, is the first option
* i.e. grep -oE => grep -E -o

Updates _bash-it-grep to invoke grep with just the provided arguments
* This function was (and still is) unused, but decided this new functionality was actually more useful

Introduces _bash-it-fgrep to invoke grep -F

Removes type -P egrep from the _bash-it-*grep functions

For usages that were already going to be modified, use -F if appropriate
* Does not touch grep usages that may have benefited from -F, but were not otherwise considered for this PR

Adds shellcheck header to modified .bash files that didn't already have it
2022-10-13 10:34:57 -07:00
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
Dylan Tuttle
c222e5001c Merge branch 'update_bash_branch' of github.com:dylanjtuttle/bash-it into update_bash_branch 2022-09-22 16:52:05 -06:00
Dylan Tuttle
606272ac23 Fixed broken code blocks in troubleshooting.rst 2022-09-22 16:49:26 -06:00
Dylan Tuttle
d237ab9aa4 Merge branch 'master' into update_bash_branch 2022-09-22 16:30:51 -06:00
Dylan Tuttle
0ab80429ce Removed Bash Dependency section from README and added it to troubleshooting.rst 2022-09-22 16:27:52 -06: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
Dylan Tuttle
f2bc6c4e6d Added update-bash section in README 2022-05-08 00:49:27 -06: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
v3.0.2
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