Fixes for zsh running under WSL.

This commit is contained in:
Stanislav Nikitin 2019-11-17 00:34:42 +05:00
parent d285f9f0df
commit 5028b56e07
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE
2 changed files with 3 additions and 1 deletions

View File

@ -4,3 +4,5 @@ zstyle :compinstall filename '${CONFIG_PATH}/.zshrc'
setopt completealiases
setopt correct
setopt interactivecomments
# This should help with WSL.
setopt TYPESET_SILENT

2
zshrc
View File

@ -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