summaryrefslogtreecommitdiff
path: root/transcode.sh.bash-completion
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--transcode.sh.bash-completion.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/transcode.sh.bash-completion.sh b/transcode.sh.bash-completion.sh
index 8796373..2ae59d0 100644
--- a/transcode.sh.bash-completion.sh
+++ b/transcode.sh.bash-completion.sh
@@ -13,7 +13,7 @@
# long space --encode-file list.txt
# long equals --encode-file=list.txt
-_transcode_sh() {
+function _transcode_sh() {
local cur prev
_init_completion -n = || return
@@ -22,7 +22,7 @@ _transcode_sh() {
# ---------------------------------------------------------------------------
# Helper: collect preset names from the preset directory
# ---------------------------------------------------------------------------
- _transcode_presets() {
+ function _transcode_presets() {
local presets=()
if [[ -d "$preset_dir" ]]; then
local f