summaryrefslogtreecommitdiff
path: root/plugins/zsh_reload/README.md
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2016-10-26 20:05:57 +0200
committerMarc Cornellà <marc.cornella@live.com>2018-04-22 12:55:13 +0200
commit405b8f220abe35eabc408566d7c4442a3a8149db (patch)
tree64e6d0848b289df1dddbee7c00fd34333600eace /plugins/zsh_reload/README.md
parent8706c8eb64c7eb40fe1acda30404ebc24fdb7f73 (diff)
downloadzsh-405b8f220abe35eabc408566d7c4442a3a8149db.tar.gz
zsh-405b8f220abe35eabc408566d7c4442a3a8149db.tar.bz2
zsh-405b8f220abe35eabc408566d7c4442a3a8149db.zip
zsh_reload: use `exec zsh` instead of `source ~/.zshrc`
`source ~/.zshrc` is a bad practice, it doesn't make sure that the full zsh session is reloaded and it may have side effects. Use `$SHELL` as the path to zsh if it exists (this will fix edge cases where the zsh used is not the first on $PATH). Otherwise, use `zsh`.
Diffstat (limited to 'plugins/zsh_reload/README.md')
0 files changed, 0 insertions, 0 deletions