diff options
Diffstat (limited to 'share/just_complete.bash')
-rw-r--r-- | share/just_complete.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/just_complete.bash b/share/just_complete.bash index 51a7e5e3..41f8f5aa 100644 --- a/share/just_complete.bash +++ b/share/just_complete.bash @@ -46,7 +46,7 @@ _just_completion(){ elif [[ $cmd =~ ^(build|analyse|describe|install-cas|install|rebuild) ]] then local _opts=($(_just_subcommand_options $cmd)) - local _targets=($(_just_targets $prev)) + local _targets=($(_just_targets $prev 2>/dev/null)) COMPREPLY=($(compgen -f -W "${_opts[*]} ${_targets[*]}" -- $word )) compopt -o plusdirs -o bashdefault -o default else |