1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00
Commit graph

10 commits

Author SHA1 Message Date
Marc Cornellà
cfb86cd08d zsh_reload: use $SHELL to reload zsh only if it's a zsh shell (fixes #9054) 2020-08-24 17:48:39 +02:00
Alexander Schlarb
1689e9bb90
zsh_reload: respect $ZDOTDIR when searching for .zshrc (#7706) 2020-02-28 21:01:34 +01:00
Marc Cornellà
fbbe902c38 zsh_reload: add README 2018-04-22 12:55:21 +02:00
Marc Cornellà
405b8f220a 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`.
2018-04-22 12:55:13 +02:00
Marc Cornellà
8706c8eb64 zsh_reload: ignore insecure compinit files 2018-04-22 12:50:00 +02:00
Marc Cornellà
9a7c56dcdd zsh_reload: fix code style and indent with tabs 2018-04-22 12:50:00 +02:00
Stephen
ceb42ecdb6 Update /home/srj/.oh-my-zsh/cache references 2015-01-08 16:38:05 +00:00
ncanceill
7478b754a1 make sure cache dir exists, just like log dir 2014-07-16 12:27:01 +02:00
Marc Cornellà
fcfa323974 Use cache folder inside $ZSH, delete with unaliased rm 2014-04-18 17:07:23 +02:00
Wael Nasreddine
40508b79a4 Add zsh_reload which provides src function, this function will source .zshrc and rebuilds cache 2011-10-20 13:10:20 +02:00