bin/pg_format

Wed, 16 Jun 2021 13:24:16 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 16 Jun 2021 13:24:16 -0500
changeset 913
72d72bafaf0f
parent 912
a409a606c665
child 915
55a1c83b3417
permissions
-rwxr-xr-x

try harder to block the sqlcomplete omni

#!/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 $*

mercurial