dotfiles/.alias

27 lines
471 B
Plaintext
Raw Normal View History

2021-05-17 19:46:52 +02:00
# exa and ls
alias ls="exa --group-directories-first -gm"
alias ll="ls -lhF"
alias lt="ll -TL $1"
alias ld="ll -d"
alias la="ll -a"
# applications
alias code="codium"
2021-05-19 11:46:36 +02:00
# git
alias gs="git status --short"
2021-05-17 19:46:52 +02:00
# dotfiles
alias dot="/usr/bin/git --git-dir=$HOME/git/dotfiles/ --work-tree=$HOME"
2021-05-19 09:48:36 +02:00
# sane mkdir
alias mkdir="mkdir -p"
2021-05-26 16:53:53 +02:00
# k8s
alias k="kubectl"
complete -F __start_kubectl k
2021-05-26 21:03:04 +02:00
2021-09-12 09:19:35 +02:00
which kubectx kubens &>/dev/null && \
2021-05-26 21:03:04 +02:00
alias kx="kubectx" && \
alias kn="kubens"