summaryrefslogtreecommitdiff
path: root/.config/fish/functions/_tide_item_docker.fish
blob: 4eec0bffba5d6a3de4d580503ae6bf684ee63a99 (plain)
1
2
3
4
5
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