=== modified file 'zsh-functions/confz_postgresql_init' --- zsh-functions/confz_postgresql_init 2014-06-28 03:12:17 +0000 +++ zsh-functions/confz_postgresql_init 2014-06-27 17:48:18 +0000 @@ -72,18 +72,18 @@ defvar psql psql defvar createdb createdb + local out name owner encoding rest local -a opts opts+=( -U $vars[user] ) (($+vars[host])) && opts+=( --host=$vars[host] ) (($+vars[port])) && opts+=( --port=$vars[port] ) - do_command=( $vars[createdb] $opts $vars[db] -O $vars[owner] ) + do_command=( $createdb $opts $db -O $owner ) if (($+vars[encoding])); then do_command+=( -E $vars[encoding] ) fi - local out name owner encoding rest out=$( $psql $opts -lAP tuples_only=on ) || die "psql failed" while IFS='|' read name owner encoding rest; do if [[ $name == $vars[db] ]]; then