From fc84b645e9c66d7617247c5fe35c86e21659ffaa Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Tue, 26 Sep 2017 17:16:26 -0500 Subject: [PATCH] [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 --- templates/zlogin => login_init.zsh | 0 tools/zim_build_cache | 4 +++- tools/zim_clean_cache | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) rename templates/zlogin => login_init.zsh (100%) mode change 100644 => 100755 diff --git a/templates/zlogin b/login_init.zsh old mode 100644 new mode 100755 similarity index 100% rename from templates/zlogin rename to login_init.zsh diff --git a/tools/zim_build_cache b/tools/zim_build_cache index 15d3b8f..f9bdf39 100644 --- a/tools/zim_build_cache +++ b/tools/zim_build_cache @@ -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' diff --git a/tools/zim_clean_cache b/tools/zim_clean_cache index 69f8eb8..d19cce6 100644 --- a/tools/zim_clean_cache +++ b/tools/zim_clean_cache @@ -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'