1
0
Fork 0
mirror of synced 2024-11-12 19:18:57 -05:00

[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:
Eric Nielsen 2017-09-26 17:16:26 -05:00
parent e2d868889b
commit 375ca0f150
3 changed files with 3 additions and 3 deletions

0
templates/zlogin → login_init.zsh Normal file → Executable file
View file

View 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'

View file

@ -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'