dotfiles/.bash_aliases

52 lines
1.1 KiB
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 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 untar="tar -xzf"
alias v="vim"
alias vi="vim"
alias vm="vim"
alias vom="vim"
alias suspend="i3lock -c 000000 && systemctl suspend"
alias hibernate="i3lock -c 000000 && systemctl hibernate"
# git
alias gsps="git stash && git pull && git stash pop"
# typo
alias mkae="make"
alias amke="make"
alias maek="make"
alias sduo="sudo"
alias suso="sudo"
alias sdou="sudo"
alias sodu="sudo"
alias sodo="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 "