bash-it/themes
John D Pell 1c3cbf7ca6
Delete `.shellcheckrc` (#1947)
* CI: disable Ubuntu 16.04 as it's EOL

https://github.blog/changelog/2021-04-29-github-actions-ubuntu-16-04-lts-virtual-environment-will-be-removed-on-september-20-2021/

* main: lint false positive

* install: lint

* plugins/cmd-returned-notify: don't `export`

* plugins/xterm: lint

* plugins/git: lint

* plugins/goenv: lint

* plugins/alias-completion: lint false positives

* plugins/alias-completion: fix SC2155, SC2154

Declare `locals` at the top of the function

* completion: lint completions using `bash_completion` functions

Match the style of the existing code

* completion/knife: lint false positives

* completion/knife: lint

* completion/sdkman: lint

* completion/composer: lint

* Move `.shellcheckrc` under `themes/`

* lib/theme: fix SC2155, SC2154, SC2034

* lib/colors: don't warn on unused variables

We assign a large number of variables here and they may or may not be used anywhere else, so disable SC2034 for this file (only).

Alsö disable SC2005 as the functions in this file were written before `printf` was invented and have to do some fancy metascripting to get escape sequences interpreted reliably. I’m not smart enough to fix this to use `printf`, so leave it for now.

* themes/agnoster: lint

* themes: disable SC2154 for colors

Each one of these themes will need it’s own fix for SC2154, possibly upstream.

Due to the way themes are, it's entirely normal to have a *lot* of false positives for SC2034. So much so, that I have to admit that it is probably just not worth linting for SC2034 despite my dislike of blanket ignore rules.

* themes: disable SC2154, fix SC2155

Each one of these themes will need it’s own fix for SC2154, possibly upstream.

Due to the way themes are, it's entirely normal to have a *lot* of false positives for SC2034. So much so, that I have to admit that it is probably just not worth linting for SC2034 despite my dislike of blanket ignore rules.

* Delete `.shellcheckrc`

* remove executable bit
2021-09-18 12:50:59 +03:00
..
90210 Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
agnoster Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
atomic Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
axin Clean theme axin 2021-01-11 11:41:44 +01:00
bakke Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
barbuk Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
binaryanomaly Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
bira Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
bobby Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
bobby-python Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
brainy Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
brunton Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
candy Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
clean Trivial fix for clean theme 2019-09-13 10:57:01 +02:00
codeword themes: use `_save-and-reload-history()` 2021-09-11 21:25:14 -07:00
cooperkid Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
cupcake Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
demula themes: remove executable bit 2021-09-11 21:25:14 -07:00
dos Added dos theme 2011-04-29 17:56:04 -05:00
doubletime themes: remove executable bit 2021-09-11 21:25:14 -07:00
doubletime_multiline themes: remove executable bit 2021-09-11 21:25:14 -07:00
doubletime_multiline_pyonly themes: remove executable bit 2021-09-11 21:25:14 -07:00
dulcie Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
duru Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
easy Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
elixr Add virtual env support for elixr theme 2018-09-10 19:20:22 +05:30
emperor refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
envy fix code review issues. 2020-03-19 21:27:54 +08:00
essential Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
font Update font theme 2017-04-24 10:19:14 -07:00
gallifrey themes: Adapt themes to new scm_prompt api 2021-05-16 19:17:02 +03:00
gitline Address some comments. 2020-11-28 19:07:10 -08:00
hawaii50 Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
iterate Guard against unset COLUMNS 2017-06-23 09:12:46 -05:00
kitsune Added credits 2016-12-09 10:40:42 +05:45
liquidprompt themes: remove executable bit 2021-09-11 21:25:14 -07:00
luan refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
mairan themes: Adapt themes to new scm_prompt api 2021-05-16 19:17:02 +03:00
mbriggs Fix EOF 2020-10-29 19:57:14 +02:00
metal squash screenshot 2019-01-25 15:00:21 -06:00
minimal Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
modern Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
modern-t themes: Adapt themes to new scm_prompt api 2021-05-16 19:17:02 +03:00
modern-time themes: Adapt themes to new scm_prompt api 2021-05-16 19:17:02 +03:00
morris Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
n0qorg Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
newin Add a new theme named newin :) 2019-10-12 21:31:21 +08:00
norbu Added norbu theme 2018-06-01 01:17:03 -04:00
nwinkler themes: remove executable bit 2021-09-11 21:25:14 -07:00
nwinkler_random_colors themes: remove executable bit 2021-09-11 21:25:14 -07:00
parrot Convert files with spaces and tabs to only spaces 2020-10-29 19:57:14 +02:00
pete themes: remove executable bit 2021-09-11 21:25:14 -07:00
powerline Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
powerline-multiline feat: add k8s namespace indicator (#1887) 2021-06-10 16:04:56 +03:00
powerline-naked feat: add k8s namespace indicator (#1887) 2021-06-10 16:04:56 +03:00
powerline-plain feat: add k8s namespace indicator (#1887) 2021-06-10 16:04:56 +03:00
powerturk Fix EOF 2020-10-29 19:57:14 +02:00
primer refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
pro Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
pure Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
purity Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
radek docs: Remove themes readmes 2020-12-04 17:24:26 +02:00
rainbowbrite themes: remove executable bit 2021-09-11 21:25:14 -07:00
ramses themes: Adapt themes to new scm_prompt api 2021-05-16 19:17:02 +03:00
rana themes: remove executable bit 2021-09-11 21:25:14 -07:00
redline Merge pull request #1721 from NoahGorny/docs-remove-themes-readmes 2020-12-14 00:01:30 +02:00
rjorgenson themes: Adapt themes to new scm_prompt api 2021-05-16 19:17:02 +03:00
robbyrussell [robbyrussell theme] Cleaning up bold markup after theme 2020-09-01 13:52:50 -03:00
roderik refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
sexy Set SEXY_THEME_SHOW_PYTHON variable default value 2019-10-12 11:52:53 +02:00
simple fix simple theme 2017-12-28 10:02:13 +01:00
sirup Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
slick themes: Adapt themes to new scm_prompt api 2021-05-16 19:17:02 +03:00
standard Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
tonka refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
tonotdo Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
tylenol Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
wanelo refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
zitron Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
zork themes: Adapt themes to new scm_prompt api 2021-05-16 19:17:02 +03:00
base.theme.bash Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
colors.theme.bash Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
command_duration.theme.bash Adding preexec as a vendored library 2021-01-23 18:31:18 +01:00
githelpers.theme.bash Fix newline and trailing space issues 2020-10-29 19:57:14 +02:00
p4helpers.theme.bash Add priliminary support for perforce SCM 2018-02-14 17:53:09 -08:00