textadept-context.sh /size: 334 b    last modification: 2020-07-01 14:35
1#!/bin/sh
2
3# copied from setuptex
4
5if [ z"$BASH_SOURCE" != z ]; then
6    textadept -u $(cd -P -- "$(dirname -- "$BASH_SOURCE")" && pwd -P) "$@" &
7elif [ z"$KSH_VERSION" != z ]; then
8    textadept -u $(cd -P -- "$(dirname -- "${.sh.file}")" && pwd -P) "$@" &
9else
10    textadept -u $(cd -P -- "$(dirname -- "$0")" && pwd -P) "$@" &
11fi
12
13