diff options
Diffstat (limited to 'home-config/fish/functions/_tide_item_docker.fish')
-rw-r--r-- | home-config/fish/functions/_tide_item_docker.fish | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/home-config/fish/functions/_tide_item_docker.fish b/home-config/fish/functions/_tide_item_docker.fish new file mode 100644 index 0000000..4eec0bf --- /dev/null +++ b/home-config/fish/functions/_tide_item_docker.fish | |||
@@ -0,0 +1,5 @@ | |||
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 | ||