Commit Graph

16 Commits (d214621d39b4f2079b4bbcad4a516d19d0a3962d)

Author SHA1 Message Date
John D Pell 9d656747a9 themes: remove executable bit 2021-09-11 21:25:14 -07:00
John D Pell de9ea54b81
Don't call external `uname` when `$OSTYPE` will do (#1911)
* lib/helpers: use `$OSTYPE` instead of `$(uname)`

* plugins/osx: use `$OSTYPE` instead of `$(uname)`

* plugins/boot2docker: use `$OSTYPE` instead of `$(uname)`

* plugins/python: use `$OSTYPE` instead of `$(uname)`

* plugins/base: use `$OSTYPE` instead of `$(uname)`

Alsö, use `[[` instead of `[` as the former has less insane argument handling being shell syntax rather than a builtin command that must emulate being a real binary

* completion/brew: use `$OSTYPE` instead of `$(uname)`

* completion/git: use `$OSTYPE` instead of `$(uname)`

Alsö, use `[[` instead of `[`.

* completion/fabric: use `$OSTYPE` instead of `uname`

* theme/demula: use `$OSTYPE` instead of `$(uname)`

* theme/rana: use `$OSTYPE` instead of `$(uname)`
2021-08-14 10:20:12 +03:00
Dinos Stamou 28c55f86db Fix Demula theme first line issue 2018-09-25 17:11:37 +03: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 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
Yuhao Wu af96da5d11 Fix bug: themes break global $PROMPT_COMMAND variable
Safely append functions to $PROMPT_COMMAND instead of setting it.
2016-07-07 17:13:00 +09:00
Enrique Bautista f096b0fcc0 Check that battery plugin is enabled before calling battery functions in demula theme 2013-08-31 16:23:38 +02:00
Enrique Bautista e0b2984e5c Fixed display of last failed command in demula theme 2013-08-30 18:18:08 +02:00
Eitan Adler 3fc60b5358 Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
JFSIII 1b7c9419bf Convert themes and plugins to use the update colors. Themes are no longer burdened with escaping the unprintable characters 2011-06-17 19:45:21 -04:00
Jesus de Mula Cano f98a728866 Check for OS type in demula theme prompt string 2011-03-07 01:11:20 +01:00
Jesus de Mula Cano 8cc74becc0 Fix demula theme output 2011-03-07 00:08:56 +01:00
Jesus de Mula Cano 23de53a084 battery plugin code clean up 2011-03-06 22:37:47 +01:00
Jesus de Mula Cano 0127dc2dc7 Add safe vcprompt use to demula theme and monokai colors. Update default template to include vcprompt path. 2011-03-06 18:49:08 +01:00
Jesus de Mula Cano 9681bae634 Update demula theme to use battery plugin 2011-03-06 18:17:17 +01:00
Jesus de Mula Cano a38012fb18 Added demula theme 2011-03-04 11:44:56 +01:00