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