Migration This is my new public git source viewer. Source available. Please contact with concerns/bugs. Contact me

home-config/fish/functions/_tide_item_docker.fish

6b3ef741571245d525a657f1eb8a342612ab0700 · 219 B · 5 lines raw

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