nvm/test/fast/Aliases
Dena Burd 6848c16d53
[New] Added `set-colors` command. See details below:
This command allows users to replace default colors with their own custom colors.

 - top-level commands modified: alias, ls, ls-remote
 - helper functions added: nvm_echo_with_colors, nvm_err_with_colors,
nvm_set_colors, nvm_get_colors, nvm_print_color_code
 - functions modified: nvm_print_formatted_alias, nvm_print_versions, nvm_print_alias_path (implicitly), nvm_print_default_alias (implicitly), nvm_list_aliases (implicitly)

We added tests and info on using this command to the README!

Co-authored-by: Dena Burd <29719099+gitburd@users.noreply.github.com>
Co-authored-by: Naomi Quinones <52065567+naomiquinones@users.noreply.github.com>
2020-08-17 14:56:13 -07:00
..
circular Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
lts [Test] "nvm alias" lts test bug fix 2017-04-02 14:34:04 +08:00
"nvm alias" should not accept aliases with slashes Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
"nvm unalias" should accept aliases when they shadow a built-in alias [Fix] allow `nvm unalias x` when `x` is a default alias, but shadowed 2019-11-12 11:16:08 -08:00
"nvm unalias" should not accept aliases with names equal to built-in alias [Docs] `unalias`: add more specific error message for builtin aliases 2019-01-23 16:39:57 -08:00
"nvm unalias" should not accept aliases with slashes Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
Running "nvm alias <aliasname> <target>" again should change the target [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
Running "nvm alias <aliasname>" should list but one alias. [Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
Running "nvm alias" lists implicit aliases when they do not exist Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
Running "nvm alias" lists manual aliases instead of implicit aliases when present [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm alias" should list all aliases. [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_ensure_default_set [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_list_aliases calls nvm_get_colors [New] Added `set-colors` command. See details below: 2020-08-17 14:56:13 -07:00
nvm_print_alias_path calls nvm_get_colors [New] Added `set-colors` command. See details below: 2020-08-17 14:56:13 -07:00
nvm_print_formatted_alias calls nvm_get_colors [New] Added `set-colors` command. See details below: 2020-08-17 14:56:13 -07:00
nvm_resolve_alias [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_resolve_local_alias [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
setup [Fix] Improve `nvm_is_version_installed` to check for a node executable instead of root dir 2018-05-31 15:26:30 -07:00
teardown Add `nvm_ensure_default_set` 2015-04-05 16:49:29 -07:00