| Site | |
|---|---|
| Updated | 2026-08-30 |
All files are loaded via the terminal shell of choice. In this dotfile repo this is bash or zsh.
Syncs shell files (aliases, exports, functions, nvm) to ~/.shell/.
./shell/setup.shDefault export path sets are set here. E.g. local bin, composer.
Set of handy aliases for common commands.
This includes;
- Short navigate
..insteadcd .. - ls commands
- system, e.g. ip, show/hide dotfiles.
- more..
Set of handy functions for common tasks.
This includes;
- Navigate up multiple directories
.. - Create folder and enter it
mkcd - Find files/folders
f - Convert images to
.webpwithto-webp - Node utilities:
node-find,node-clean
load-nvmrc reads .nvmrc on directory change and switches node version.
Kept separate from the other functions because node/nvm.sh registers the
chpwd hook that calls it.
.zshrc sources every extensionless file in ~/.shell/, not just the ones
synced here. A tool module can drop its own shortcuts in by syncing a shell
file to ~/.shell/<module> from its own setup.sh, which keeps that module
self-contained.
If ~/.shell/extra exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.
You could also use extra to override settings, functions and aliases from my dotfiles repository. It’s probably better to fork this repository instead, though.