Wed, 16 Jun 2021 12:39:20 -0500
add autoinstall pg_format stub
bin/pg_format | file | annotate | diff | comparison | revisions |
new file mode 100755 --- /dev/null +++ b/bin/pg_format @@ -0,0 +1,16 @@ +#!/bin/sh +set -eu + +stubexec() { + local real_bin="$(which -a $(basename $0) | grep -v $0 | head -n 1)" + if [ -x "$real_bin" ]; then + exec $real_bin $* + fi +} + +stubexec $* + +cpanm -n 'https://github.com/darold/pgFormatter.git' +plenv rehash + +stubexec $*