bash-it/themes
Konstantin Gredeskoul 040474499f
Adding node prompt that does not require NVM
There are now alternative version managers available, such as volta.sh.
We should be able to show node version regardless of whether you are
using NVM or not. I decided not to add dedicated PREFIX variables for
now, but it can be done later.

We still check nvm first, and if it returns something — we use it.
Only if the output of NVM is blank do we use the new function to grab the version of NodeJS.

There is a caveat — if node is installed with the OS, eg `/usr/bin/node` this
function will pick it up and run `--version` on it, and therefore it will
now be displayed in the prompt.

Tested locally on OS-X/bash:

* with/without NVM
* with/without VOLTA
* with/without system node
2021-09-12 23:35:38 -07:00
..
90210 Add hooks to check .sh and .bash headers - Fixes #1491 (#1765) 2021-01-09 18:02:26 +02:00
agnoster Add hooks to check .sh and .bash headers - Fixes #1491 (#1765) 2021-01-09 18:02:26 +02:00
atomic Disable SC2207 to keep COMPREPLY simple 2021-01-22 18:41:16 +04:00
axin Clean theme axin 2021-01-11 11:41:44 +01:00
bakke Clean bakke 2021-01-16 09:12:06 +01:00
barbuk Add hooks to check .sh and .bash headers - Fixes #1491 (#1765) 2021-01-09 18:02:26 +02:00
binaryanomaly Clean binaryanomaly 2021-01-16 09:12:20 +01:00
bira Clean bira 2021-01-16 09:12:42 +01:00
bobby Clean bobby 2021-01-16 09:12:59 +01:00
bobby-python Clean bobby 2021-01-16 09:12:59 +01:00
brainy Disable SC2207 to keep COMPREPLY simple 2021-01-22 18:41:16 +04:00
brunton Clean brunton 2021-01-16 09:13:23 +01:00
candy Fix bold text issue 2018-05-18 11:52:35 +10:00
clean Trivial fix for clean theme 2019-09-13 10:57:01 +02:00
codeword docs: Remove themes readmes 2020-12-04 17:24:26 +02: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 Fix Demula theme first line issue 2018-09-25 17:11:37 +03:00
dos Added dos theme 2011-04-29 17:56:04 -05:00
doubletime refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
doubletime_multiline refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
doubletime_multiline_pyonly refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06: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 Add theme Easy 2021-04-01 00:28:28 +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 Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09: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 Fix EOF 2020-10-29 19:57:14 +02:00
luan refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
mairan fix ramses, mairan, and agnoster shell quoting with virtual env 2020-01-24 10:06:19 -05: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 retval check 2021-01-27 22:55:44 +00:00
modern-t Add comment to install "t" and disable "todo.plugin" (#1742) 2020-12-27 17:24:52 +02:00
modern-time Add modern-time theme 2019-04-21 23:30:45 -04: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 refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
nwinkler_random_colors Merge pull request #1721 from NoahGorny/docs-remove-themes-readmes 2020-12-14 00:01:30 +02:00
parrot Convert files with spaces and tabs to only spaces 2020-10-29 19:57:14 +02:00
pete refactor themes to support standardized clock functions 2016-10-18 20:58:07 +06:00
powerline More themes 2021-04-30 08:21:48 -07:00
powerline-multiline Adding shortening of CWD and Golang 2021-04-08 11:46:33 -07:00
powerline-naked Add to prompt google gcloud active account 2021-03-11 18:25:23 +02:00
powerline-plain Add to prompt google gcloud active account 2021-03-11 18:25:23 +02: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 Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
purity cleaned and linted purity theme 2021-03-24 21:39:57 +00:00
radek docs: Remove themes readmes 2020-12-04 17:24:26 +02:00
rainbowbrite Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09:00
ramses Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
rana Copied command_exists function to the helpers lib so that there is no hidden dependency on the base plugin 2017-09-17 21:05:59 +02:00
redline Merge pull request #1721 from NoahGorny/docs-remove-themes-readmes 2020-12-14 00:01:30 +02:00
rjorgenson Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09: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 Fix bug: themes break global $PROMPT_COMMAND variable 2016-07-07 17:13:00 +09: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 Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
base.theme.bash Adding node prompt that does not require NVM 2021-09-12 23:35:38 -07:00
colors.theme.bash add that pesky dollar sign 2020-10-01 08:07:18 -07: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