dotfiles/files/fish/functions/_tide_item_docker.fish

6 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