From cf9ef8c569ed0613bcee035f60b671a1ffc2bb54 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Fri, 14 Mar 2014 21:42:34 -0500 Subject: [PATCH] fix slow terminal init Moved all completion.sh and .zsh files into the zsh directory, so I don't end up scanning all of my dotfiles plus nvm each time a new terminal is initialized. --- {git => zsh}/git.zsh | 0 git/completion.sh => zsh/git_completion.sh | 0 tmux/aliases.zsh => zsh/tmux.zsh | 0 zsh/zshrc.symlink | 4 ++-- 4 files changed, 2 insertions(+), 2 deletions(-) rename {git => zsh}/git.zsh (100%) rename git/completion.sh => zsh/git_completion.sh (100%) rename tmux/aliases.zsh => zsh/tmux.zsh (100%) diff --git a/git/git.zsh b/zsh/git.zsh similarity index 100% rename from git/git.zsh rename to zsh/git.zsh diff --git a/git/completion.sh b/zsh/git_completion.sh similarity index 100% rename from git/completion.sh rename to zsh/git_completion.sh diff --git a/tmux/aliases.zsh b/zsh/tmux.zsh similarity index 100% rename from tmux/aliases.zsh rename to zsh/tmux.zsh diff --git a/zsh/zshrc.symlink b/zsh/zshrc.symlink index a64562f..198db19 100644 --- a/zsh/zshrc.symlink +++ b/zsh/zshrc.symlink @@ -6,7 +6,7 @@ if [[ -d ~/code ]]; then fi # load all zsh config files -for config ($ZSH/**/*.zsh) source $config +for config ($ZSH/zsh/**/*.zsh) source $config if [[ -a ~/.localrc ]]; then source ~/.localrc @@ -17,7 +17,7 @@ fi autoload -U compinit compinit -for config ($ZSH/**/completion.sh) source $config +for config ($ZSH/zsh/**/*completion.sh) source $config export EDITOR='vim'