2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00
bench/completion.sh
2018-07-11 17:57:46 +05:30

12 lines
249 B
Bash

_setup_bench_tab_completion () {
if [ -n "$BASH" ] ; then
eval "$(_BENCH_COMPLETE=source bench)"
elif [ -n "$ZSH_VERSION" ]; then
autoload bashcompinit
bashcompinit
eval "$(_BENCH_COMPLETE=source bench)"
fi
}
_setup_bench_tab_completion