mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 20:13:05 +03:00
26f1a8d572
* Support multiple 'default' contexts for Docker If someone is using 'colima' instead of Docker Desktop, the default context is 'colima'. Rather than making two tests with fixed values, add a new configuration variable and use `contains`. * Remove non-colour configuration from color files
6 lines
219 B
Fish
6 lines
219 B
Fish
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
|