1
0
Fork 0
mirror of synced 2024-12-27 00:13:20 -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`.

Closes #218
This commit is contained in:
Eric Nielsen 2017-09-26 17:16:26 -05:00
parent 8ba34e68e5
commit fc84b645e9
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'