From deca876875028a852f370dcf60c892cb86fc14ca Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Tue, 24 Jun 2014 00:57:45 -0700 Subject: [PATCH] bug fix for init.sh --- init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.sh b/init.sh index 77d85fb..8be9f0b 100755 --- a/init.sh +++ b/init.sh @@ -28,9 +28,9 @@ link_config() { cd "$CONFIG_PATH" for FILE in *; do - if [ "$FILE" != "init.sh" ]; then + if [ "$FILE" != "init.sh" ] && [ "$FILE" != "Gemfile" ] && [ "$FILE" != "Gemfile.lock" ] && [ "$FILE" != "zsh" ]; then link_config "${CONFIG_PATH}/$FILE" fi done -link_config "zsh/zshrc" +link_config "${CONFIG_PATH}/zsh/zshrc"