From 89505cdeccf719a6460f4700bafca2c749c090b1 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Thu, 16 Sep 2021 17:51:48 -0600 Subject: [PATCH] comment out default lines in config --- setup/zsh/setup.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/zsh/setup.zsh b/setup/zsh/setup.zsh index a5eabb6..6a89ee7 100644 --- a/setup/zsh/setup.zsh +++ b/setup/zsh/setup.zsh @@ -49,6 +49,6 @@ function ZSH__SET_LOCAL_CONFIG() { { echo "source $DEFAULT_CONFIG" echo -e '\n#\n# .wryn configuration overrides\n#\n' - sed 's/[#]*\(.*\)/#\1/' $DEFAULT_CONFIG + sed 's/^[^#].*/#&/' $DEFAULT_CONFIG } > $LOCAL_CONFIG && OK || WARN }