Dotfiles
Bash config, aliases, and shell helper functions.
These are the shell configs I actually use. They are focused on Linux/UNIX workflows, fast navigation, and practical helper aliases and functions.
Download
One-line install (auto-picks curl / wget / fetch / python3)
base="https://masonkurvink.com/downloads"; ts="$(date +%Y%m%d-%H%M%S)"; [ -f "$HOME/.bashrc" ] && cp "$HOME/.bashrc" "$HOME/.bashrc.bak.$ts"; [ -f "$HOME/.bash_aliases" ] && cp "$HOME/.bash_aliases" "$HOME/.bash_aliases.bak.$ts"; dl(){ u="$1"; o="$2"; if command -v curl >/dev/null 2>&1; then curl -fsSL "$u" -o "$o"; elif command -v wget >/dev/null 2>&1; then wget -qO "$o" "$u"; elif command -v fetch >/dev/null 2>&1; then fetch -qo "$o" "$u"; elif command -v python3 >/dev/null 2>&1; then python3 -c 'import sys,urllib.request; urllib.request.urlretrieve(sys.argv[1], sys.argv[2])' "$u" "$o"; else echo "Need one of: curl, wget, fetch, python3" >&2; return 1; fi; }; dl "$base/bashrc.txt" "$HOME/.bashrc" && dl "$base/bash_aliases.txt" "$HOME/.bash_aliases" && echo "Installed. Open a new shell or run: source ~/.bashrc"Direct install variants (manual)
curl
ts="$(date +%Y%m%d-%H%M%S)"; [ -f ~/.bashrc ] && cp ~/.bashrc ~/.bashrc.bak."$ts"; [ -f ~/.bash_aliases ] && cp ~/.bash_aliases ~/.bash_aliases.bak."$ts"; curl -fsSL https://masonkurvink.com/downloads/bashrc.txt -o ~/.bashrc && curl -fsSL https://masonkurvink.com/downloads/bash_aliases.txt -o ~/.bash_aliaseswget
ts="$(date +%Y%m%d-%H%M%S)"; [ -f ~/.bashrc ] && cp ~/.bashrc ~/.bashrc.bak."$ts"; [ -f ~/.bash_aliases ] && cp ~/.bash_aliases ~/.bash_aliases.bak."$ts"; wget -qO ~/.bashrc https://masonkurvink.com/downloads/bashrc.txt && wget -qO ~/.bash_aliases https://masonkurvink.com/downloads/bash_aliases.txtfetch (BSD / some UNIX systems)
ts="$(date +%Y%m%d-%H%M%S)"; [ -f ~/.bashrc ] && cp ~/.bashrc ~/.bashrc.bak."$ts"; [ -f ~/.bash_aliases ] && cp ~/.bash_aliases ~/.bash_aliases.bak."$ts"; fetch -qo ~/.bashrc https://masonkurvink.com/downloads/bashrc.txt && fetch -qo ~/.bash_aliases https://masonkurvink.com/downloads/bash_aliases.txtAlias groups overview
Shell bootstrap
- Loads
~/.bashrc.d/*.bashrcif present - Sources
~/.bash_aliasesfrom~/.bashrc
Navigation and listing
ll,la,lh,lomkdirg,up,tree
Git shortcuts
gs,ga,gc,gd,gb,gco, etc.
Networking and diagnostics
openports,port,whatismyip, and related helpers
Package-manager wrappers
paci,pacu,pacr,pacs,pacinfo- Auto-detects
apt,pacman,yum,dnf, orbrew
File and archive helpers
ex(extractor)cpv,cpp,cpg,mvg
Fun and misc
genpasswdbusy