docker k8s
This commit is contained in:
parent
44f739e9db
commit
fd6138e96f
|
@ -76,6 +76,23 @@ if [ $? -eq 0 ]; then
|
|||
eval $(thefuck --alias)
|
||||
fi
|
||||
|
||||
# Docker and kubernetes aliases
|
||||
command -v k9s > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
alias kns="k9s"
|
||||
fi
|
||||
|
||||
command -v lazydocker > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
alias ld="lazydocker"
|
||||
fi
|
||||
|
||||
command -v docker-compose > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
alias dc="docker-compose"
|
||||
alias dcu="docker-compose up -d --build --remove-orphans"
|
||||
fi
|
||||
|
||||
# change to git directory
|
||||
cdg() {
|
||||
local newdir
|
||||
|
|
Loading…
Reference in New Issue