comment out default lines in config

This commit is contained in:
Wryn Wagner 2021-09-16 17:51:48 -06:00
parent 63e87dbc2d
commit 89505cdecc

View File

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