diff options
Diffstat (limited to '.config/fish')
-rw-r--r-- | .config/fish/completions/nvm.fish | 21 | ||||
-rw-r--r-- | .config/fish/fish_plugins | 2 | ||||
-rw-r--r-- | .config/fish/fish_variables | 4 |
3 files changed, 27 insertions, 0 deletions
diff --git a/.config/fish/completions/nvm.fish b/.config/fish/completions/nvm.fish new file mode 100644 index 0000000..14be1b7 --- /dev/null +++ b/.config/fish/completions/nvm.fish | |||
@@ -0,0 +1,21 @@ | |||
1 | complete --command nvm --exclusive | ||
2 | complete --command nvm --exclusive --long version --description "Print version" | ||
3 | complete --command nvm --exclusive --long help --description "Print help" | ||
4 | complete --command nvm --long silent --description "Suppress standard output" | ||
5 | |||
6 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments install --description "Download and activate the specified Node version" | ||
7 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments use --description "Activate the specified Node version in the current shell" | ||
8 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list --description "List installed Node versions" | ||
9 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list-remote --description "List available Node versions to install" | ||
10 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments current --description "Print the currently-active Node version" | ||
11 | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from install" --arguments "( | ||
12 | test -e $nvm_data && string split ' ' <$nvm_data/.index | ||
13 | )" | ||
14 | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use" --arguments "(_nvm_list | string split ' ')" | ||
15 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments uninstall --description "Uninstall the specified Node version" | ||
16 | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from uninstall" --arguments "( | ||
17 | _nvm_list | string split ' ' | string replace system '' | ||
18 | )" | ||
19 | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use uninstall" --arguments "( | ||
20 | set --query nvm_default_version && echo default | ||
21 | )" | ||
diff --git a/.config/fish/fish_plugins b/.config/fish/fish_plugins new file mode 100644 index 0000000..49bfe20 --- /dev/null +++ b/.config/fish/fish_plugins | |||
@@ -0,0 +1,2 @@ | |||
1 | jorgebucaran/nvm.fish | ||
2 | franciscolourenco/done | ||
diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index e8b58fb..b32dfe3 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables | |||
@@ -2,6 +2,10 @@ | |||
2 | # VERSION: 3.0 | 2 | # VERSION: 3.0 |
3 | SETUVAR __fish_initialized:3400 | 3 | SETUVAR __fish_initialized:3400 |
4 | SETUVAR _fish_abbr_dr:dragon\x2ddrop | 4 | SETUVAR _fish_abbr_dr:dragon\x2ddrop |
5 | SETUVAR _fisher_franciscolourenco_2F_done_files:\x7e/\x2econfig/fish/conf\x2ed/done\x2efish | ||
6 | SETUVAR _fisher_jorgebucaran_2F_nvm_2E_fish_files:\x7e/\x2econfig/fish/functions/_nvm_index_update\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_list\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_activate\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_deactivate\x2efish\x1e\x7e/\x2econfig/fish/functions/nvm\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/nvm\x2efish\x1e\x7e/\x2econfig/fish/completions/nvm\x2efish | ||
7 | SETUVAR _fisher_plugins:jorgebucaran/nvm\x2efish\x1efranciscolourenco/done | ||
8 | SETUVAR _fisher_upgraded_to_4_4:\x1d | ||
5 | SETUVAR fish_color_autosuggestion:6c7086 | 9 | SETUVAR fish_color_autosuggestion:6c7086 |
6 | SETUVAR fish_color_cancel:f38ba8 | 10 | SETUVAR fish_color_cancel:f38ba8 |
7 | SETUVAR fish_color_command:89b4fa | 11 | SETUVAR fish_color_command:89b4fa |