From 5028b56e07cd2e4ddeb2a5ce2f5bb0522169a174 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Sun, 17 Nov 2019 00:34:42 +0500 Subject: [PATCH] Fixes for zsh running under WSL. --- zsh/00-init.zsh | 2 ++ zshrc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh/00-init.zsh b/zsh/00-init.zsh index 30e11f0..0351cdf 100644 --- a/zsh/00-init.zsh +++ b/zsh/00-init.zsh @@ -4,3 +4,5 @@ zstyle :compinstall filename '${CONFIG_PATH}/.zshrc' setopt completealiases setopt correct setopt interactivecomments +# This should help with WSL. +setopt TYPESET_SILENT \ No newline at end of file diff --git a/zshrc b/zshrc index 224066f..a99e50b 100644 --- a/zshrc +++ b/zshrc @@ -27,7 +27,7 @@ fi source ${CONFIG_PATH}/zsh/lib/logger.lib.sh if [ $CONFIG_FOUND -eq 1 ]; then - for config_file in `ls ${CONFIG_PATH}/zsh/ | sort | grep zsh`; do + for config_file in `ls --color=never ${CONFIG_PATH}/zsh/ | sort | grep zsh`; do source ${CONFIG_PATH}/zsh/${config_file} done else