5 ms·
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 sourc
by tasn 2y ago
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.
- chime 2y agoI have alias s='source ~/.zshrc'.
- alkh 2y agoI have an alias reload="exec zsh" for fast reloading. Admittedly, this does wreck up everything set up locally but I doubt you will be modifying ~/.[zsh|bash]rc file often
- chrisfinazzo 2y agoSourcing .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