# List file alias l="ls -a" alias la="ls -a" alias ll="ls -lh" alias lla="ls -alh" # Directory and File alias mkdir="mkdir -pv" alias rm="rm -rv" alias mv="mv -v" alias cp="cp -rv" # Human Readable alias free="free -h" alias df="df -hT | grep -v tmpfs" # T: show filesystem type alias du="du -h" # Systemctl alias sctl="systemctl" alias ssctl="sudo systemctl" # Python Venv alias newvenv="python -m venv .venv" alias actvenv=". .venv/bin/activate" # Proxy alias setproxy="export http_proxy=http://127.0.0.1:7890 https_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890" alias unsetproxy="unset http_proxy https_proxy all_proxy" # Containers alias c=podman alias ctr="c run -it --rm" # container temporarily run alias cte="c exec -it" # container temporarily exec #alias nginx="c exec nginx nginx" [ -n "$BASH_VERSION" -o -n "$ZSH_VERSION" ] && return 0 # The following alias is for fish # Python venv alias actvenv=". .venv/bin/activate.fish" # Proxy alias unsetproxy="set -e http_proxy https_proxy all_proxy"