Alias reference

Core ships a curated set of aliases from zsh/aliases.zsh and zsh/git.zsh. The modern-CLI swaps are guarded by detection flags: tools.zsh sets HAVE_* at load time, and each alias only activates if the tool is installed — otherwise the classic command is used. Nothing breaks on a box without the newer tool; things just get nicer where they can.

This mirrors dotfiles-core’s aliases.md cheat sheet. Run core help (aliased cheat) in the shell for the always-current index.

Modern CLI replacements

AliasExpands toRequires
ls / ll / laeza (icons, git status, grouped)eza
lt / llt / treeeza --treeeza
catbat --paging=neverbat
cd / cdizoxide jump (z / zi)zoxide
dudustdust
dfdufduf
psprocsprocs
top / htopbtopbtop
rgrg --smart-caseripgrep
fdfd / fdfindfd-find
fm / yyaziyazi
http / httpsxhxh
mdglow --pagerglow
dnsdoggodoggo
pinggpinggping
watchviddyviddy
helptldrtldr

Editors & launchers

AliasExpands to
vimnvim
lglazygit
notescd "$NOTES_DIR" && nvim .
cheatcore-help (the built-in help index)
AliasExpands to
-cd - (previous directory)
mkdirmkdir -p (create parents)
rm / cp / mvinteractive (-i)
diffdiff --color=auto
myipcurl -fsS https://ifconfig.me
portsss -tulpn (falls back to netstat)

Git suite (OMZ-compatible)

Sourced from zsh/git.zsh. A representative slice — see the shell’s core help for the full set.

AliasExpands to
ggit
gst / gssgit status / --short
ga / gaa / gapgit add / --all / --patch
gc / gcm / gcamgit commit -v / -m / -am
gco / gcb / gswgit checkout / -b / git switch
gd / gdsgit diff / --staged
glog / glolapretty graph log / all branches
gp / gpfgit push / --force-with-lease
gl / gprgit pull / --rebase
grb / grbi / grbcgit rebase / -i / --continue
gsta / gstpgit stash push / pop

Interactive helpers

A few commands are functions, not aliases — they wrap fzf:

  • gaf / grf / grsf — fuzzy add / restore / restore-staged.
  • fif / fbr — fuzzy find-in-files / branch checkout.
  • gsync — push an OS repo’s vendored core/ subtree back upstream to dotfiles-core.