# useful aliases alias reloadbash='. ~/.bash_profile' alias ..='cd ..' alias space='df -hl' alias stor="du -hls" alias env='env | sort' if [ -f /usr/bin/bat ]; then alias cat='bat' fi # ansible alias ap='ansible-playbook' alias ahostvar="ansible -m debug -a 'var=hostvars[inventory_hostname]'" # shortcuts alias y='yay' # safety precautions alias chown='chown --preserve-root' alias chmod='chmod --preserve-root' alias chgrp='chgrp --preserve-root' # python alias pipu='pip list --outdated --format=freeze | grep -v "^\-e" | cut -d = -f 1 | xargs -n1 pip install -U' #weather alias weather='curl http://wttr.in/Oldenburg'