=== modified file 'zsh-functions/zsv_defaults_postgresql' --- zsh-functions/zsv_defaults_postgresql 2014-06-28 04:17:33 +0000 +++ zsh-functions/zsv_defaults_postgresql 2014-06-28 04:12:27 +0000 @@ -18,12 +18,9 @@ [[ -r $configfile ]] || exit 1 setopt extended_glob - sed ' - s/[ ]*#.*//; - s/\([_a-zA-Z0-9]*\)[ ]=/\1/; - ' <$configfile | while read key val; do + sed 's/[ ]*#.*//' <$configfile | while read key val; do [[ -n $key ]] || continue - # [[ $val == '=*' ]] && val=${val/#=[$IFS]#} + [[ $val == '=*' ]] && val=${val/#=[$IFS]#} conf[$key]=${(Q)val} done