diff --git a/.bash_aliases b/.bash_aliases index 058e3eb..1c46ce9 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -9,26 +9,28 @@ alias df="df -h" alias grep="grep -i --color=auto" alias ll="ls -lah" alias l="ls" -alias dig="dig +short " -alias tf="tail -f " -alias scs="systemctl status " -alias scr="systemctl restart " -alias scw="watch systemctl status " +alias tf="tail -f" +alias scs="systemctl status" +alias scr="systemctl restart" +alias scw="watch systemctl status" alias hostname="hostname -f" alias what="whoami && pwd && hostname -f" +alias untar="tar -xzf" # typo -alias mkae="make " -alias amke="make " -alias maek="make " -alias sduo="sudo " -alias sdou="sudo " -alias sodu="sudo " +alias mkae="make" +alias amke="make" +alias maek="make" +alias sduo="sudo" +alias sdou="sudo" +alias sodu="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 ca="cat" # docker alias dcu="docker-compose up" alias dcd="docker-compose down" diff --git a/.gitconfig b/.gitconfig index 723d9bd..1eda7be 100644 --- a/.gitconfig +++ b/.gitconfig @@ -3,3 +3,12 @@ email = michael.grote@posteo.de [credential] helper = store +[alias] + logs = log --all --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative + s = status + p = push + c = checkout + r = rebase + rc = rebase --continue + remote = remote -v + fetchp = fetch --prune