# General alias clear="printf '\033c'" # faster than ncurses clear by a lot alias c='clear' alias q="exit" alias bashrc="vim ~/.bashrc && source ~/.bashrc" # LS alias ls='ls --color=auto -FAh' alias ll='ls -l' alias la='ls' alias l.='ls | egrep "^\."' alias l=ls # GREP alias grep='grep --color=auto' alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' # GIT alias ga='git add' alias gc='git commit' alias gp='git push' alias lc='fc -nl $HISTCMD' # CADDY alias rc='caddy reload --config /etc/caddy/Caddyfile' alias ft='caddy fmt --overwrite /etc/caddy/*.caddy && caddy fmt --overwrite /etc/caddy/Caddyfile' alias vt='caddy validate --config /etc/caddy/*.caddy && caddy validate --config /etc/caddy/Caddyfile' # DOCKER alias dockup='docker compose pull; docker compose down && docker compose up -d --build --remove-orphans' # Navigation alias ..='cd ..' alias ...='cd ../../' alias ....='cd ../../../' alias .....='cd ../../../../' # Readability alias cp="cp -iv" alias mv='mv -iv' alias rm='rm -iv' alias df='df -h' alias free='free -m' alias mkdir='mkdir -pv'