dotfiles/files/fish/functions/_tide_item_docker.fish

6 lines
219 B
Fish
Raw Normal View History

2023-02-23 12:47:06 +00:00
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