=== modified file 'zsh-functions/confz_postgresql_init' --- zsh-functions/confz_postgresql_init 2014-06-28 04:36:30 +0000 +++ zsh-functions/confz_postgresql_init 2014-06-28 04:34:18 +0000 @@ -84,7 +84,7 @@ fi local out name owner encoding rest - out=$( confz_do $vars[psql] $opts -lAP tuples_only=on ) || die "psql failed" + out=$( $vars[psql] $opts -lAP tuples_only=on ) || die "psql failed" while IFS='|' read name owner encoding rest; do if [[ $name == $vars[db] ]]; then [[ $owner == $vars[owner] ]] || \ @@ -113,7 +113,7 @@ (($+vars[host])) && opts+=( --host=$vars[host] ) (($+vars[port])) && opts+=( --port=$vars[port] ) - out=$( confz_do $vars[psql] $opts -AP tuples_only=on -c '\d' $vars[db] ) || die "psql failed" + out=$( confz_do $psql $opts -AP tuples_only=on -c '\d' $vars[db] ) || die "psql failed" if [[ -z $out ]]; then fail_reason="the schema for ${(qqq)db} is empty" return 1 @@ -131,5 +131,5 @@ (($+vars[host])) && opts+=( --host=$vars[host] ) (($+vars[port])) && opts+=( --port=$vars[port] ) - confz_do $vars[psql] $opts -1 $vars[db] -f - <<<$vars[psql_input] + confz_do $psql $opts -1 $vars[db] -f - <<<$vars[psql_input] }