dotfiles/fish/functions/_tide_item_docker.fish

6 lines
219 B
Fish
Raw Normal View History

2023-10-08 22:26:07 -05: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