# Managed by Ansible (role: shell) # # This file is intentionally small and safe for servers. # It is sourced from ~/.zshrc by the shell role. alias reload="source ~/.zshrc && echo 'ZSH config reloaded from ~/.zshrc'" alias editrc="nano ~/.zshrc" alias c="clear" alias ls="ls --color=auto" alias ..="cd .." alias ...="cd ../.." alias ....="cd ../../.." alias cd..="cd .." alias h="cd ~" # System information alias df="df -h" alias du="du -h" alias free="free -h" alias ports="ss -tulpn" alias myip="curl -s http://ipecho.net/plain; echo" # Package management (Debian/Ubuntu) alias update="sudo apt update && sudo apt upgrade -y" alias install="sudo apt install" alias remove="sudo apt remove" alias search="apt search" # Docker (if installed) alias d="docker" alias dps="docker ps" alias di="docker images" # Python alias py="python3" alias pip="pip3"