1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-18 20:00:07 +00:00
Commit graph

7 commits

Author SHA1 Message Date
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