dotfiles/.bash_aliases

61 lines
1.5 KiB
Bash
Raw Normal View History

2020-11-30 09:04:55 +01:00
# tmux
2020-11-30 19:32:46 +01:00
alias tmuxa="tmux a -t "
2020-07-12 20:15:58 +02:00
alias tmuxn="tmux new -s "
alias tmuxl="tmux ls"
alias tmuxk="tmux kill-session -t"
2020-11-30 09:04:55 +01:00
# abkuerzungen
2020-07-12 20:15:58 +02:00
alias cls="clear"
alias df="df -h"
2021-07-10 21:44:18 +02:00
alias du="du -h"
2020-07-12 20:15:58 +02:00
alias grep="grep -i --color=auto"
2020-08-10 08:58:36 +02:00
alias ll="ls -lah"
2021-01-02 14:37:32 +01:00
alias l="ls"
2021-05-02 13:57:36 +02:00
alias tf="tail -f"
2021-06-16 18:26:12 +02:00
alias sc="sudo systemctl"
2021-05-02 13:57:36 +02:00
alias scs="systemctl status"
alias scr="systemctl restart"
alias scw="watch systemctl status"
2021-03-29 12:28:35 +02:00
alias hostname="hostname -f"
2021-05-17 06:53:31 +02:00
alias untar="tar -xzf"
2021-07-03 11:56:18 +02:00
alias suspend="i3lock -c 000000 && systemctl suspend"
2021-07-29 09:45:56 +02:00
alias standby="i3lock -c 000000 && systemctl suspend"
2021-07-03 11:56:18 +02:00
alias hibernate="i3lock -c 000000 && systemctl hibernate"
2021-08-17 08:07:58 +02:00
alias shutdown="sudo shutdown --no-wall now"
2021-06-30 21:33:04 +02:00
# git
alias gsps="git stash && git pull && git stash pop"
2021-08-30 22:25:10 +02:00
alias gcm="git commit -m"
alias gdel="git add . && git stash && git stash drop"
2020-11-30 09:04:55 +01:00
# typo
2021-05-02 13:57:36 +02:00
alias mkae="make"
alias amke="make"
alias maek="make"
alias sduo="sudo"
2021-06-01 19:19:40 +02:00
alias suso="sudo"
2021-05-02 13:57:36 +02:00
alias sdou="sudo"
alias sodu="sudo"
2021-07-09 14:34:31 +02:00
alias sudp="sudo"
2021-06-28 20:07:11 +02:00
alias sodo="sudo"
2021-05-18 21:29:53 +02:00
alias susdo="sudo"
2020-11-30 09:04:55 +01:00
alias sudo-i="sudo -i"
2020-11-26 09:24:31 +01:00
alias cd..="cd .."
2020-11-29 14:09:50 +01:00
alias exot="exit"
2020-11-30 09:04:55 +01:00
alias nao="nano"
alias naho="nano"
2020-12-19 11:51:53 +01:00
alias dicker="docker"
2021-06-21 19:56:30 +02:00
alias dokcer="docker"
2021-05-02 13:57:31 +02:00
alias ca="cat"
alias v="view"
2021-07-03 11:57:56 +02:00
alias vi="vim"
alias vm="vim"
alias vom="vim"
2020-11-30 09:04:55 +01:00
# docker
2020-11-26 09:24:31 +01:00
alias dcu="docker-compose up"
alias dcd="docker-compose down"
2020-12-18 21:13:02 +01:00
alias dcr="docker-compose down && docker-compose up -d"
2021-07-21 10:09:17 +02:00
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"
2021-03-29 12:28:35 +02:00
# safeguard
alias mv="mv -i "
alias cp="cp -i "
alias rm="rm -i "