mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 20:13:05 +03:00
22 lines
452 B
Fish
22 lines
452 B
Fish
# RUN: %fish %s
|
|
_tide_parent_dirs
|
|
|
|
function _docker
|
|
_tide_decolor (_tide_item_docker)
|
|
end
|
|
|
|
set -lx tide_docker_icon
|
|
|
|
mock docker "context inspect" "echo default"
|
|
_docker # CHECK:
|
|
|
|
mock docker "context inspect" "echo colima"
|
|
_docker # CHECK:
|
|
|
|
mock docker "context inspect" "echo curr-context"
|
|
_docker # CHECK: curr-context
|
|
|
|
mock docker "context inspect" "echo curr-context"
|
|
set -lx tide_docker_default_contexts curr-context
|
|
_docker # CHECK:
|