Skip to content

Commit

Permalink
Merge pull request #144 from daniejstriata/master
Browse files Browse the repository at this point in the history
fix line endings for Bash completion file
  • Loading branch information
blacknon authored Aug 18, 2024
2 parents c5a00d5 + 63be77a commit b78e839
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions completion/bash/hwatch-completion.bash
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
_hwatch() {
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="-b --batch -B --beep --border --with-scrollbar --mouse -c --color -r --reverse -C --compress -t --no-title -N --line-number --no-help-banner -x --exec -O --diff-output-only -A --aftercommand -l --logfile -s --shell -n --interval -L --limit --tab-size -d --differences -o --output -K --keymap -h --help -V --version"

if [[ ${cur} == -* ]]; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
}

complete -F _hwatch hwatch
_hwatch() {
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="-b --batch -B --beep --border --with-scrollbar --mouse -c --color -r --reverse -C --compress -t --no-title -N --line-number --no-help-banner -x --exec -O --diff-output-only -A --aftercommand -l --logfile -s --shell -n --interval -L --limit --tab-size -d --differences -o --output -K --keymap -h --help -V --version"

if [[ ${cur} == -* ]]; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
}

complete -F _hwatch hwatch

0 comments on commit b78e839

Please sign in to comment.