mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 12:03:48 +03:00
Only check for used unusable items
This commit is contained in:
parent
447945d2cf
commit
bc613c8502
@ -2,6 +2,8 @@ function _tide_remove_unusable_items
|
|||||||
# Remove tool-specific items for tools the machine doesn't have installed
|
# Remove tool-specific items for tools the machine doesn't have installed
|
||||||
set -l removed_items
|
set -l removed_items
|
||||||
for item in aws chruby crystal direnv distrobox docker elixir gcloud git go java kubectl nix_shell node php pulumi rustc terraform toolbox virtual_env
|
for item in aws chruby crystal direnv distrobox docker elixir gcloud git go java kubectl nix_shell node php pulumi rustc terraform toolbox virtual_env
|
||||||
|
contains $item $tide_left_prompt_items $tide_right_prompt_items || continue
|
||||||
|
|
||||||
set -l cli_names $item
|
set -l cli_names $item
|
||||||
switch $item
|
switch $item
|
||||||
case distrobox # there is no 'distrobox' command inside the container
|
case distrobox # there is no 'distrobox' command inside the container
|
||||||
|
Loading…
Reference in New Issue
Block a user