Skip to content

Commit

Permalink
chore(task): add note comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillmorozov committed Jul 31, 2024
1 parent 5815efd commit c652220
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ tasks:
completions:fd:
desc: Install fd completions.
cmds:
# NOTE(kirillmorozov): fd might be installed under different names on
# different OSes so try them all and ignore errors in the process.
- cmd: fd --gen-completions=zsh > {{.COMPLETIONS_PATH}}/_fd
ignore_error: true
- cmd: fdfind --gen-completions=zsh > {{.COMPLETIONS_PATH}}/_fd
Expand All @@ -60,6 +62,8 @@ tasks:
desc: Install task completions.
cmds:
- cmd: task --completion zsh 2> {{.COMPLETIONS_PATH}}/_task
# NOTE(kirillmorozov): Task version that comes with Ubuntu 24.04 does
# not have --completions flag.
ignore_error: true

completions:
Expand Down

0 comments on commit c652220

Please sign in to comment.