60 lines
1.5 KiB
Bash
60 lines
1.5 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 du="du -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 suspend="i3lock -c 000000 && systemctl suspend"
|
|
alias standby="i3lock -c 000000 && systemctl suspend"
|
|
alias hibernate="i3lock -c 000000 && systemctl hibernate"
|
|
alias shutdown="sudo shutdown --no-wall now"
|
|
# git
|
|
alias gsps="git stash && git pull && git stash pop"
|
|
alias gcm="git commit -m"
|
|
alias gdel="git add . && git stash && git stash drop"
|
|
# typo
|
|
alias mkae="make"
|
|
alias amke="make"
|
|
alias maek="make"
|
|
alias sduo="sudo"
|
|
alias suso="sudo"
|
|
alias sdou="sudo"
|
|
alias sodu="sudo"
|
|
alias sudp="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"
|
|
alias v="view"
|
|
alias vi="vim"
|
|
alias vm="vim"
|
|
alias vom="vim"
|
|
# docker
|
|
alias dcu="docker-compose up"
|
|
alias dcd="docker-compose down"
|
|
alias dcr="docker-compose down && docker-compose up -d"
|
|
alias lazydocker="docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock lazyteam/lazydocker"
|
|
alias lzd="docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock lazyteam/lazydocker"
|
|
# safeguard
|
|
alias mv="mv -i "
|
|
alias cp="cp -i "
|
|
alias rm="rm -i "
|