dotfiles/.bash_aliases

39 lines
934 B
Bash
Raw Normal View History

# tmux
alias tmuxa="tmux a -t "
alias tmuxn="tmux new -s "
alias tmuxl="tmux ls"
alias tmuxk="tmux kill-session -t"
# abkuerzungen
alias ip="ip --color=auto"
alias cls="clear"
alias tracert="traceroute"
alias df="df -h"
alias du="du -h"
alias grep="grep -i --color=auto"
alias hostname="hostname -f"
alias untar="tar -xzf"
alias unmount="umount"
alias ru="rip url"
alias mkdir="mkdir -p"
alias last="last -w"
alias ll="ls -lAh"
alias tree="tree -a -I **.git**"
# git
alias gs="git status"
alias gf="git fetch"
alias gdel="git reset --hard ; git clean -f"
alias glast="git log -1 HEAD --stat"
alias gd="git difftool"
alias gsp="git stage -p"
alias gflog="git log -- "
alias gb="git --no-pager branch -l"
# docker
alias dcu="docker-compose up"
2024-07-26 00:13:34 +02:00
alias dlogs="docker-compose logs -f"
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 "