dotfiles/fish/functions/_tide_item_docker.fish
2023-10-08 22:26:07 -05:00

5 lines
219 B
Fish

function _tide_item_docker
docker context inspect --format '{{.Name}}' | read -l context
contains -- "$context" $tide_docker_default_contexts ||
_tide_print_item docker $tide_docker_icon' ' $context
end