Also called: .bashrc, .zshrc, .profile, alias
In plain English
Aliases, PATH changes and prompt settings live here. After editing, reload with source.
Example
My aliases live in .zshrc, so they work in every new terminal.
In code
echo 'alias art="php artisan"' >> ~/.zshrc
source ~/.zshrc
Learn more
- Bash Startup FilesGNU manual (opens in a new tab)
- GitHub does dotfilesdotfiles.github.io (opens in a new tab)
Related terms
Added 2026-11-30 · Last reviewed 2026-11-30