]> git.donarmstrong.com Git - zsh.git/commitdiff
add pgsysconfdir support
authorDon Armstrong <don@donarmstrong.com>
Thu, 27 Dec 2012 22:22:42 +0000 (14:22 -0800)
committerDon Armstrong <don@donarmstrong.com>
Thu, 27 Dec 2012 22:22:42 +0000 (14:22 -0800)
.zsh/zshenv/45_postgresql [new file with mode: 0644]

diff --git a/.zsh/zshenv/45_postgresql b/.zsh/zshenv/45_postgresql
new file mode 100644 (file)
index 0000000..a2ea4b0
--- /dev/null
@@ -0,0 +1,5 @@
+# -*- mode: sh -*-
+
+if [ -e ~/.hide/pg_service.conf ]; then
+    export PGSYSCONFDIR="$(eval 'echo' '~/.hide')";
+fi;