Commit Graph

25 Commits (c88a4bfa8900541adb23f8e88fd9e3a80f624cae)

Author SHA1 Message Date
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
BarbUk f86d823dc3
Disable SC2207 to keep COMPREPLY simple 2021-01-22 18:41:16 +04:00
BarbUk ef42c822e6
Update brainy theme with correct `compgen` syntax 2021-01-16 23:18:58 +01:00
BarbUk 662a5c4ac7
Clean brainy 2021-01-16 09:13:10 +01:00
Noah Gorny 1702e0217a docs: Remove themes readmes 2020-12-04 17:24:26 +02:00
David Farrell 1d6b01018d
theme/brainy: Update sudo check method 2020-03-31 14:11:05 -07:00
Dylan Semler 01188bbd28 Reset VIRTUALENV vars in brainy theme 2017-12-06 08:50:09 -05:00
brossaip 00732ad210
Add discharging character in brainy theme
I have followed the same technique as it is done in atomic theme
2017-11-06 18:01:30 +01:00
Nils Winkler 145ec5dfaa Copied command_exists function to the helpers lib so that there is no hidden dependency on the base plugin
The original command_exists function will stay in the base plugin, but will no longer be used by other plugins or themes.
2017-09-17 21:05:59 +02:00
Nils Winkler e13c75c433 Add safeguard for no battery percentage available 2017-06-24 17:31:31 +02:00
Nils Winkler 3fac1c7ea5 Fix checks for battery plugin
These now check for the presence of the required function instead of
checking for the battery file in the enabled directory.
2017-06-24 17:31:31 +02:00
Luis Felipe Sánchez 23e1bb9a7b New theme Atomic added and reverted the theme Brainy by default
- Brainy theme reverted to original.
- add Atomic theme based on the original brainy.
- Special thanks to @MunifTanjim and @nwinkler for such excellent job.
2017-05-22 14:26:13 -05:00
Luis Felipe Sánchez c2eaa27af8 Update Readme
The installation method has been updated.
2017-05-16 07:59:08 -05:00
Luis Felipe Sánchez 757de0ebfd Corrections and Optimizations
Corrections and Optimizations
2017-05-15 09:50:24 -05:00
Luis Felipe Sánchez f511349152 Corrections and Optimizations
Readme update
2017-05-15 09:45:59 -05:00
Luis Felipe Sánchez 6a49cde998 Corrections and Optimizations
Corrections and Optimizations
2017-05-15 09:36:15 -05:00
Luis Felipe Sánchez 875fa9f2d8 readme update
readme update install commands
2017-05-12 12:04:13 -05:00
Luis Felipe Sánchez c92d12bed1 Fixed and improved the theme
Corrected problem with prompt where sometimes keeped part of previous commands when scrolling history
2017-05-12 11:57:21 -05:00
Luis Felipe Sánchez 3c60c2e678 Fix for all Operating Systems
All Operating Systems Supported
2017-05-04 08:50:53 -05:00
Luis Felipe Sánchez 4a1d1623af Fix Colors
Fix Colors to all Operatin Systems
2017-05-03 17:47:21 -05:00
Luis Felipe Sánchez 5e0e1bda81 img changed
New Changes in the new img
2017-05-02 17:11:21 -05:00
Luis Felipe Sánchez 3c26c6394f New Changes UI
New Changes in UI intefaz from pront and SUDO plugin with emoji icon
symbol
2017-05-02 16:59:03 -05:00
Luis Felipe Sánchez 13f30838ba Improvements in the theme for a better appearance, I hope you like, added the option of downloading the battery for a better style.
Improvements in the theme for a better appearance, I hope you like,
added the option of downloading the battery for a better style.
2017-04-28 13:55:38 -05:00
MunifTanjim f132df6eff refactor brainy theme, add todo segment & ssh indicator and other minor updates 2016-11-24 21:09:15 +06:00
MunifTanjim 62554b84c8 add brainy theme 2016-10-31 05:57:39 +06:00