From 0997a5dd4efec8098f2a63d7efa284f6b07e6336 Mon Sep 17 00:00:00 2001 From: Meutel Date: Sun, 8 Dec 2019 09:21:59 +0100 Subject: [PATCH] Alias docker, config k8s --- _bash_aliases | 3 +++ _bashrc | 2 ++ 2 files changed, 5 insertions(+) diff --git a/_bash_aliases b/_bash_aliases index 44aa3b6..c4caeb4 100644 --- a/_bash_aliases +++ b/_bash_aliases @@ -65,3 +65,6 @@ alias ip='ip --color' alias ipb='ip --color --brief' alias dc='docker-compose' + +# IP docker container +alias d_ip="docker inspect -f '{{ .NetworkSettings.IPAddress }}' " diff --git a/_bashrc b/_bashrc index 367cf12..2274097 100644 --- a/_bashrc +++ b/_bashrc @@ -18,6 +18,8 @@ export VISUAL=$EDITOR export MANPAGER="less -X" # youtube dl default export YDL_TARGET=$HOME/tmp +# kubectl +export KUBECONFIG=~/.kube/config ##### COLORS #####