Gurkirat Singh
d7fb6b3235
improve (lint): add completion/available/flutter.completion.bash entry
2022-05-06 23:32:45 +05:30
Gurkirat Singh
6b0ca17df0
improve (lint): add awscli.completion.bash in clean_files.txt
2022-03-13 05:20:57 +05:30
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
Gurkirat Singh
55e698a737
fix test file path from the 7fcad6ed0d commit
2022-03-06 04:25:33 +05:30
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
ca8101b34a
Merge pull request #2031 from gaelicWizard/bats-cleanup
2022-03-04 11:25:06 -08:00
Noah Gorny
49649c5f0c
Merge pull request #2028 from gaelicWizard/plugin/base
...
lib/appearance: export `$CLICOLOR` instead of `$LSCOLOR`
2022-03-04 20:50:33 +02:00
John D Pell
f7cba27f10
lib/appearance: `shellcheck` && `shfmt`
2022-03-03 23:58:55 -08:00
John D Pell
6bacd5fb1c
lib/githelpers: `shfmt` && `shellcheck`
...
My apologies to future `git blame` hunters ♥
2022-03-03 22:54:08 -08:00
John D Pell
fbc5d0a5af
lib/p4helpers: `shfmt`
...
My apologies to future `git blame` hunters ♥
2022-03-03 22:53:13 -08:00
John D Pell
014c102b71
BATS: revamp test `setup()` and `setup_test_fixture()`
2022-03-03 22:43:17 -08:00
John D Pell
7c2c2a5525
aliases: run `shfmt` on the whole folder
...
My apologies to future `git blame` hunters ♥
2022-02-14 15:40:56 -08:00
Noah Gorny
89c9504a5e
Merge pull request #2017 from gaelicWizard/lib/preview
...
lib/preview: functionalize
2022-02-13 23:59:06 +02:00
John D Pell
5d5858058e
lib/history: new functions `_bash-it-history-auto-*()`
...
Two new functions `_bash-it-history-auto-save()` and `_bash-it-history-auto-load()`, which append new history to disk and load new history from disk, respectively.
See bash-it/bash-it#1595 for discussion.
2022-02-08 16:59:29 -08:00
John D Pell
d6555f369a
lib/preview: refactor into a function
...
This allows future use like `bash-it preview`. Alsö, allows to use `$BASH_PREVIEW` to specify a particular theme to preview instead of just doing all of them.
2022-02-07 15:27:03 -08:00
Noah Gorny
578c702ca3
Merge pull request #2055 from gaelicWizard/lib/reloader
...
lib/reloader: lint and modernize
2022-01-30 00:10:32 +02:00
Noah Gorny
2a9ee7e344
Merge pull request #2019 from gaelicWizard/lib/colors
...
lib/colors: split out metaprogramming
2022-01-30 00:10:14 +02:00
John D Pell
b8694ee140
lib/search: `shfmt`
...
My apologies to future `git blame` hunters ♥
2022-01-28 13:35:17 -08:00
John D Pell
85a77f1e46
lib/colors: Separate metaprogramming
2022-01-28 13:09:53 -08:00
John D Pell
bf4ddf5951
plugin/colors: `shfmt`
2022-01-28 13:09:00 -08:00
John D Pell
16cee1956d
lib/colors: revert #99
...
This reverts bash-it/bash-it#99 , a metaprogramming adventure in terminal color code escape computation. It was functionally reverted in bash-it/bash-it#699 ; I'm just finishing the job.
2022-01-28 13:08:50 -08:00
John D Pell
fd7b20b8d7
reloader: `shellcheck` && `shfmt`
...
Rewrite globbing per `shellcheck`'s SC2013 recommendations, and standardize whitespace.
2022-01-28 03:59:45 -08:00
Noah Gorny
0c24edae06
Merge pull request #2064 from gaelicWizard/plugin/battery
...
plugin/battery: `shellcheck`
2022-01-26 17:47:59 +02:00
John D Pell
3cb5f3f7e6
plugin/battery: `shellcheck`
2022-01-25 23:54:24 -08:00
John D Pell
7a0b353cea
lib/preexec: rename `vendor/init.d/preexec.bash`
2022-01-25 13:00:04 -08:00
Noah Gorny
2575d64deb
Merge pull request #2010 from gaelicWizard/plugin-projects
...
Plugin/projects: cleanup
2022-01-25 18:28:53 +02:00
Noah Gorny
878bbe5942
Merge pull request #2042 from gaelicWizard/completion/dotnet
...
completion/dotnet: new completion
2022-01-25 18:16:06 +02:00
Noah Gorny
035eabade6
Merge pull request #2036 from gaelicWizard/theme/norbu
...
theme/norbu: `shellcheck` && `shfmt`
2022-01-25 18:10:21 +02:00
John D Pell
b1e922ea38
theme/norbu: `shellcheck` && `shfmt`
...
# Conflicts:
# clean_files.txt
2022-01-25 00:01:27 -08:00
John D Pell
d7695d5456
completion/bash-it: `shfmt`
2022-01-24 21:41:13 -08:00
Noah Gorny
dbb3ea4736
Merge pull request #2035 from gaelicWizard/theme/pete
...
theme/pete: `shellcheck` && `shfmt`
2022-01-24 23:32:58 +02:00
John D Pell
ea2002a2e4
plugin/projects: cleanup
...
I'm deliberately leaving the possibility that one might `pjo` without a project name...
2022-01-18 11:08:51 -08:00
John D Pell
003b0ce802
lib/helpers: `shfmt`
...
My apologies to future `git blame` hunters ♥
2022-01-18 11:02:36 -08:00
Noah Gorny
973a1f9b40
Merge pull request #1958 from gaelicWizard/plugin-proxy
...
plugin/proxy: lint
2022-01-18 19:42:32 +02:00
John D Pell
77c5f8eda9
completion/dotnet: modernize
...
and `shfmt`
2022-01-12 22:39:49 -08:00
John D Pell
8e8fe69db4
theme/pete: `shellcheck` && `shfmt`
2022-01-12 13:29:40 -08:00
John D Pell
b772e6ace7
lib/log: `shellcheck` && `shfmt`
...
Alsö, fix tests to load `lib/colors` instead of `lib/appearance`...wut
Alsö, `short-circuit _has_colors()`: If we already looked up colors, and we already have them, then don't run `tput` again.
My apologies to future `git blame` hunters ♥
2022-01-09 00:49:44 -08:00
John D Pell
6e480d7a8a
plugin/proxy: `shellcheck` && `shfmt`
...
plugins/proxy: use `_command_exists()`
Alsö, quote variables, handle unbound parameters, &c.
2022-01-09 00:40:49 -08:00
Noah Gorny
f2bff34493
Merge pull request #2013 from gaelicWizard/completion/system
...
completion/system: load earlier than others
2022-01-09 01:13:23 +02:00
Noah Gorny
1fd601db7f
Merge pull request #2007 from gaelicWizard/plugin-latex
...
Plugin/LaTeX: 2009 was thirteen years ago
2022-01-09 01:11:41 +02:00
Noah Gorny
21e7c1f00c
Merge pull request #2011 from gaelicWizard/plugin-nginx
...
plugin/nginx: cleanup
2022-01-09 01:11:06 +02:00
Noah Gorny
af801cfadc
Merge pull request #2014 from gaelicWizard/plugin/gif
...
plugin/GIF: use `type -p` and lint
2022-01-09 01:10:43 +02:00
John D Pell
079652e6e7
plugin/nginx: cleanup
...
Dont overwrite user-set variable, and quote path. Local some variables, `shellcheck`, `shfmt`
2022-01-08 08:44:05 -08:00
John D Pell
2fe9e01051
plugins/latex: 2009 was 12 years ago
...
Locate the currently installed edition, instead of transpoting us back to undergrad.
2022-01-08 08:43:32 -08:00
John D Pell
ce22710e00
plugin/gif: `shfmt`
...
My apologies to future `git blame` hunters ♥
2022-01-08 08:43:17 -08:00
John D Pell
5fab574bfd
completion/system: `shfmt`
...
My apologies to future `git blame` hunters ♥
2022-01-08 08:33:16 -08:00
John D Pell
97ef5a8087
test/run: lint
2022-01-08 08:29:13 -08:00
John D Pell
da6b27166f
tests: new file `test_helper_libs.bash`
...
For testing non-core files, just `load ../test_helper_libs` after `load ../test_helper` instead of trying to guess which libs must be loaded, in which order, for testing to succeed.
`_command_exists` spews log messages, so our test log is littered with `_log_debug not found`. This fixes that too.
2022-01-08 08:29:13 -08:00
Noah Gorny
931f27ee3e
Merge pull request #2016 from gaelicWizard/plugin/python
...
plugin/python: OS detection & `shfmt`
2022-01-07 08:50:07 +02:00
Noah Gorny
2728f20354
Merge pull request #2012 from gaelicWizard/theme/essential
...
theme/essential: cleanup
2022-01-07 08:48:16 +02:00