dotfiles/.bash_aliases

39 lines
875 B
Bash

# tmux
alias tmuxa="tmux a -t "
alias tmuxn="tmux new -s "
alias tmuxl="tmux ls"
alias tmuxk="tmux kill-session -t"
# abkuerzungen
alias cls="clear"
alias df="df -h"
alias grep="grep -i --color=auto"
alias ll="ls -lah"
alias l="ls"
alias dig="dig +short "
alias tf="tail -f "
alias scs="systemctl status "
alias scr="systemctl restart "
alias scw="watch systemctl status "
alias hostname="hostname -f"
alias what="whoami && pwd && hostname -f"
# typo
alias mkae="make "
alias amke="make "
alias maek="make "
alias sduo="sudo "
alias sdou="sudo "
alias sodu="sudo "
alias sudo-i="sudo -i"
alias cd..="cd .."
alias exot="exit"
alias nao="nano"
alias naho="nano"
alias dicker="docker"
# docker
alias dcu="docker-compose up"
alias dcd="docker-compose down"
alias dcr="docker-compose down && docker-compose up -d"
# safeguard
alias mv="mv -i "
alias cp="cp -i "
alias rm="rm -i "