dotfiles/.bash_aliases
2021-06-23 20:18:14 +02:00

54 lines
1.1 KiB
Bash

# binde Funktionen ein
source ~/.bash_functions
# 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 tf="tail -f"
alias sc="sudo systemctl"
alias scs="systemctl status"
alias scr="systemctl restart"
alias scw="watch systemctl status"
alias hostname="hostname -f"
alias what="whoami && pwd && hostname -f"
alias untar="tar -xzf"
alias v="vim"
alias vi="vim"
alias vm="vim"
alias suspend="systemctl suspend"
alias hibernate="systemctl hibernate"
# typo
alias mkae="make"
alias amke="make"
alias maek="make"
alias sduo="sudo"
alias suso="sudo"
alias sdou="sudo"
alias sodu="sudo"
alias susdo="sudo"
alias sudo-i="sudo -i"
alias cd..="cd .."
alias exot="exit"
alias nao="nano"
alias naho="nano"
alias dicker="docker"
alias dokcer="docker"
alias ca="cat"
# 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 "
# rg
alias rg="rg -i"