tide/functions/_tide_item_docker.fish
Ilan Cosman 7224a99ba6 Merge in docker item (#231)
Co-authored-by: Gabriel Augendre <gabriel@augendre.info>
2021-12-10 10:20:23 -08:00

5 lines
185 B
Fish

function _tide_item_docker
docker context inspect --format '{{.Name}}' | read -l context
test "$context" != default && _tide_print_item docker $tide_docker_icon' ' $context
end