Skip to content

Commit

Permalink
Fix dynamic declaration of bash autocompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
lelegard committed Dec 5, 2021
1 parent 0038d3d commit c43ee75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libtsduck/tsVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
//!
//! TSDuck commit number (automatically updated by Git hooks).
//!
#define TS_COMMIT 2650
#define TS_COMMIT 2651
3 changes: 2 additions & 1 deletion src/tstools/tsduck-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,6 @@ _tsduck()
}

# Declare completions for all TSDuck commands.
complete -F _tsduck ${__ts_cmds[*]}
# Do not change the order of the following two lines, guess why...
[[ $OSTYPE == cygwin || $OSTYPE == msys ]] && complete -F _tsduck ${__ts_cmds[*]/%/.exe}
complete -F _tsduck ${__ts_cmds[*]}

0 comments on commit c43ee75

Please sign in to comment.