Re:Why “alias” is my last resort for aliases
by tasn on Wednesday March 05, 2025 @08:51AM
(#43266348)
I came here to say the same thing.
I'm also not convinced about the instant reload aspect. You can always just define your aliases in a different file and source it when updating aliases (how often does that happen anyway?), source your .zshrc, or just open a new terminal window.
[ Parent
| on HN ]
Re:Why “alias” is my last resort for aliases
by chrisfinazzo on Wednesday March 05, 2025 @10:48AM
(#43268158)
Sourcing .zshrc works reasonably well. I have the following at the end of setup.sh -- which creates symlinks and sets up other configurations.
makeLinks does most of the work, then sets Homebrew's zsh as the default shell -- this currently runs in bash, so it probably will need to be updated at some point -- and everything gets reloaded.
makeLinks && chsh -s /usr/local/bin/zsh
exec $SHELL && brew doctor