blob: c4535917eda41589ffe3f94c831e8a5f8e5f713e [file] [log] [blame] [edit]
#!/usr/bin/env bash
GH_EXE="$( dirname ${BASH_SOURCE[0]} )/gh.exe"
if [ -t 0 -a -t 1 -a -x /usr/bin/winpty ]; then
/usr/bin/winpty $GH_EXE "$@"
else
exec $GH_EXE "$@"
fi