2023-05-22 10:06:01 +02:00
|
|
|
# utils
|
2024-02-21 13:52:22 +01:00
|
|
|
alias ls="eza --group-directories-first -gm"
|
2021-05-17 19:46:52 +02:00
|
|
|
alias ll="ls -lhF"
|
|
|
|
alias lt="ll -TL $1"
|
|
|
|
alias ld="ll -d"
|
|
|
|
alias la="ll -a"
|
|
|
|
|
2023-05-22 10:06:01 +02:00
|
|
|
alias cat="bat -pp"
|
|
|
|
|
2021-05-17 19:46:52 +02:00
|
|
|
# applications
|
2022-01-13 14:11:59 +01:00
|
|
|
alias code="code-oss"
|
2021-05-17 19:46:52 +02:00
|
|
|
|
|
|
|
# dotfiles
|
2023-09-21 19:00:42 +02:00
|
|
|
alias dot="git --git-dir=$HOME/git/dotfiles/ --work-tree=$HOME"
|
2021-05-19 09:48:36 +02:00
|
|
|
|
2021-05-26 16:53:53 +02:00
|
|
|
# k8s
|
|
|
|
alias k="kubectl"
|
2023-05-22 10:06:01 +02:00
|
|
|
alias kga="k get all"
|
|
|
|
alias kgp="k get pod"
|
|
|
|
alias kgsc="k get secrets"
|
|
|
|
alias kgsv="k get services"
|
|
|
|
|
|
|
|
alias dps='docker ps --format '\''table {{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Networks}}'\'''
|
2021-05-26 21:03:04 +02:00
|
|
|
|
2023-05-22 10:06:01 +02:00
|
|
|
# kx, kn
|
|
|
|
command -v kubectx kubens &>/dev/null && \
|
2021-05-26 21:03:04 +02:00
|
|
|
alias kx="kubectx" && \
|
|
|
|
alias kn="kubens"
|
2022-01-13 14:11:59 +01:00
|
|
|
|