From 1c56ebf1706d3b5fcbe0d9348efb6ce2302805a0 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 2 Sep 2017 14:08:32 -0400 Subject: [PATCH] Remove .zlogin as it wasn't really doing anything --- .zlogin | 53 ----------------------------------------------------- .zshrc | 1 + 2 files changed, 1 insertion(+), 53 deletions(-) delete mode 100644 .zlogin diff --git a/.zlogin b/.zlogin deleted file mode 100644 index bc79f0f..0000000 --- a/.zlogin +++ /dev/null @@ -1,53 +0,0 @@ -#-*- mode: sh; -*- -# startup file read in interactive login shells - -# The following code helps us by optimizing the existing framework. -# This includes zcompile, zcompdump, etc. - -( - # Function to determine the need of a zcompile. If the .zwc file - # does not exist, or the base file is newer, we need to compile. - # These jobs are asynchronous, and will not impact the interactive shell - zcompare() { - if [[ -s ${1} && ( ! -s ${1}.zwc || ${1} -nt ${1}.zwc) ]]; then - zcompile ${1} - fi - } - - zim_mods=${ZDOTDIR:-${HOME}}/.zim/modules - setopt EXTENDED_GLOB - - # zcompile the completion cache; siginificant speedup. - zcompare ${ZDOTDIR:-${HOME}}/.zcompdump - - # zcompile .zshrc - zcompare ${ZDOTDIR:-${HOME}}/.zshrc - - # zcompile some light module init scripts - zcompare ${zim_mods}/git/init.zsh - zcompare ${zim_mods}/utility/init.zsh - zcompare ${zim_mods}/pacman/init.zsh - zcompare ${zim_mods}/spectrum/init.zsh - zcompare ${zim_mods}/completion/init.zsh - zcompare ${zim_mods}/fasd/init.zsh - - # zcompile all .zsh files in the custom module - for file in ${zim_mods}/custom/**/^(README.md|*.zwc)(.); do - zcompare ${file} - done - - # zcompile all autoloaded functions - for file in ${zim_mods}/**/functions/^(*.zwc)(.); do - zcompare ${file} - done - - # syntax-highlighting - for file in ${zim_mods}/syntax-highlighting/external/highlighters/**/*.zsh; do - zcompare ${file} - done - zcompare ${zim_mods}/syntax-highlighting/external/zsh-syntax-highlighting.zsh - - # zsh-histery-substring-search - zcompare ${zim_mods}/history-substring-search/external/zsh-history-substring-search.zsh - -) &! diff --git a/.zshrc b/.zshrc index c348ae1..f1cc721 100644 --- a/.zshrc +++ b/.zshrc @@ -32,6 +32,7 @@ done source $HOME/.aliases/general # Various Options +setopt EXTENDED_GLOB setopt CORRECT CORRECT_IGNORE="_*" zhighlighters=(main brackets)