From 8600374371f91843064441113f4023cda1730877 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sat, 18 Mar 2023 16:40:57 -0300 Subject: General fish fixes and updates --- .config/fish/functions/_tide_item_docker.fish | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .config/fish/functions/_tide_item_docker.fish (limited to '.config/fish/functions/_tide_item_docker.fish') diff --git a/.config/fish/functions/_tide_item_docker.fish b/.config/fish/functions/_tide_item_docker.fish new file mode 100644 index 00000000..4eec0bff --- /dev/null +++ b/.config/fish/functions/_tide_item_docker.fish @@ -0,0 +1,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 -- cgit v1.2.3