12 lines
330 B
Bash
12 lines
330 B
Bash
# vim: ft=zsh
|
|
|
|
if command-exists "docker"; then
|
|
if ! command-exists "k9s"; then
|
|
alias k9s='docker run --network host -it --rm -v ~/.kube:/root/.kube quay.io/derailed/k9s'
|
|
fi
|
|
|
|
if ! command-exists "dive"; then
|
|
alias dive='docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock wagoodman/dive'
|
|
fi
|
|
fi
|