Shell Aliases & Functions
Quick reference for everything defined in .zshrc.
Alias
Expands to
Notes
cdp <dir>
cd ~/projects/personal/<dir>
cdw <dir>
cd ~/projects/work/<dir>
cdnv
cd ~/.config/nvim/
y
yazi with cwd tracking
cds to wherever you exit yazi
Alias
What
ll
long listing, icons, sorted by date
la
same + hidden files
ld
ll on ~/Downloads
ct
tree view, respects .gitignore, filters build artifacts
Alias
Expands to
nv
nvim
vim
nvim (auto-aliased if nvim exists)
less
bat
g
git
h
brew
gl
git pull --rebase
Alias
What
sz
source ~/.zshrc (reload)
oo
open . (Finder)
today
print YYYY-MM-DD
now
print ISO 8601 UTC timestamp
weather
curl wttr.in/Seattle?u
darkmode
toggle macOS dark/light mode
mdfmt
dprint fmt --config-discovery=global
ip
local IP address (ipconfig getifaddr en0)
git-whoami
show git email + config source for current repo
Function
What
tp <project>
attach or create tmux session for a project (tab-completable)
tp
fzf picker across ~/projects/{personal,work}/
Function
What
excel <file>
open csv/xlsx in Microsoft Excel
app <url>
open URL as Chrome app window