Getting started
Requirements
- Bash (macOS
/bin/bash3.2 or newer is fine) - Optional: Git, for the Git alias group
Install
Clone this repository (or keep your existing checkout), then point your home aliases at the repo files. Symlink:
ln -sfn /path/to/bash-aliases/.bash_aliases ~/.bash_aliases
ln -sfn /path/to/bash-aliases/.bash ~/.bash
Or copy .bash_aliases and .bash/aliases/ into $HOME.
Ensure ~/.bashrc (or your login shell init) sources the loader:
# -------------------------------------------------------------------
# Aliases & Git completion
# -------------------------------------------------------------------
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
Open a new shell, or run:
Verify
You should see groups such as Alias management, Git, System,
MkDocs, and Other, with portable example aliases (for example gs,
ll, mkdocs-serve). Treat those as a starter pack — edit or delete freely.
Try the helpers
add-alias other hello 'echo hi'
list-aliases other
edit-alias hello 'echo hello'
delete-alias hello --file
Development extras
Docs and Makefile skills (optional):
Registry unit tests: