=== modified file 'zsh-functions/zsv_defaults_postgresql' --- zsh-functions/zsv_defaults_postgresql 2014-06-28 04:31:14 +0000 +++ zsh-functions/zsv_defaults_postgresql 2014-06-28 04:29:51 +0000 @@ -78,7 +78,7 @@ # TODO: support multiple socket directories if ! [[ -d $pg_sockdir && -k $pg_sockdir ]]; then mkdir -p $pg_sockdir || exit $? - chown $pg_user: $pg_sockdir + chown $pg_user: ${socket_path} chmod 0775 $pg_sockdir fi