dotfiles/.bash_aliases

28 lines
719 B
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 hostname="hostname -f"
alias untar="tar -xzf"
# git
alias gsps="git stash && git pull && git stash pop"
alias gcm="git commit -m"
alias gdel="git add . && git stash"
# vim
alias v="view"
# docker
alias dcu="docker-compose up"
alias dcd="docker-compose down"
alias dcr="docker-compose down && docker-compose up -d"
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 "