dotfiles/.bash_aliases

29 lines
737 B
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-03-29 12:28:35 +02:00
alias hostname="hostname -f"
2021-05-17 06:53:31 +02:00
alias untar="tar -xzf"
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"
2021-10-26 08:31:03 +02:00
# vim
alias v="view"
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 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 "