Skip to content

Commit

Permalink
bash_completion: improve comment
Browse files Browse the repository at this point in the history
sighook committed May 10, 2024
1 parent 582cb4d commit f543636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bash_completion
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ _finddeps-linked()
COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
else
# all installed packages
# complete with all installed packages
COMPREPLY=($(compgen \
-W '$(pkginfo -i | cut -d\ -f1)' -- $cur))
fi
@@ -102,7 +102,7 @@ _findredundantdeps()
COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
else
# all available pkgsrc packages
# complete with all available pkgsrc packages
COMPREPLY=($(compgen -W '$(pkgman printf "%n ")' -- $cur))
fi
} && complete -F _findredundantdeps findredundantdeps

0 comments on commit f543636

Please sign in to comment.