mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-04 20:52:42 +01:00
10 lines
335 B
Bash
10 lines
335 B
Bash
|
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )"
|
||
|
|
||
|
# Try to generate the shell completion rules if they do not yet exist.
|
||
|
if [ ! -f "${SCRIPTDIR}/bash-rules.sh" ]; then
|
||
|
arc shell-complete --generate >/dev/null 2>/dev/null
|
||
|
fi;
|
||
|
|
||
|
# Source the shell completion rules.
|
||
|
source "${SCRIPTDIR}/../rules/bash-rules.sh"
|