Skip to content

Commit

Permalink
chore: Update taskwarrior-tui.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
kdheepak committed May 12, 2024
1 parent d3cc728 commit 10b3ef7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion completions/taskwarrior-tui.bash
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,8 @@ _taskwarrior-tui() {
esac
}

complete -F _taskwarrior-tui -o nosort -o bashdefault -o default taskwarrior-tui
if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then
complete -F _taskwarrior-tui -o nosort -o bashdefault -o default taskwarrior-tui
else
complete -F _taskwarrior-tui -o bashdefault -o default taskwarrior-tui
fi

0 comments on commit 10b3ef7

Please sign in to comment.