[template] Move templates/zlogin to login_init.zsh
so it's not a template anymore and can be under version control, instead of being manually updated by the user, as currently is the case with `~/.zlogin` and `${ZIM_HOME}/templates/zlogin`.
This commit is contained in:
parent
e2d868889b
commit
375ca0f150
3 changed files with 3 additions and 3 deletions
0
templates/zlogin → login_init.zsh
Normal file → Executable file
0
templates/zlogin → login_init.zsh
Normal file → Executable file
|
@ -2,4 +2,6 @@
|
|||
# zim_build_cache - rebuilds the zim cache
|
||||
#
|
||||
|
||||
source ${ZIM_HOME}/templates/zlogin
|
||||
source ${ZIM_HOME}/login_init.zsh
|
||||
|
||||
print 'To rebuild the completion cache, please restart your terminal'
|
||||
|
|
|
@ -5,5 +5,3 @@
|
|||
find ${ZIM_HOME} \( -name '*.zwc' -or -name '*.zwc.old' \) -delete
|
||||
rm -f ${ZDOTDIR:-${HOME}}/.zshrc.zwc{,.old}
|
||||
rm -f ${ZDOTDIR:-${HOME}}/${zcompdump_file:-.zcompdump}{,.zwc{,.old}}
|
||||
|
||||
print 'To rebuild the completion cache, please restart your terminal'
|
||||
|
|
Loading…
Reference in a new issue