diff options
author | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2021-04-12 16:43:37 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2021-09-05 12:49:11 +0100 |
commit | 6259bead9454dd3174f60c568ab0592a13e891d5 (patch) | |
tree | b46f19e3cdd13017da5da11d21ff3efd70c9abfa /.bash_completion.d | |
parent | make my bashcomp actually work (diff) | |
download | dotfiles-6259bead9454dd3174f60c568ab0592a13e891d5.tar.gz dotfiles-6259bead9454dd3174f60c568ab0592a13e891d5.tar.bz2 dotfiles-6259bead9454dd3174f60c568ab0592a13e891d5.zip |
fix dmount completion
Diffstat (limited to '.bash_completion.d')
-rw-r--r-- | .bash_completion.d/dmount.bashcomp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.bash_completion.d/dmount.bashcomp b/.bash_completion.d/dmount.bashcomp index adbd251..7299a9b 100644 --- a/.bash_completion.d/dmount.bashcomp +++ b/.bash_completion.d/dmount.bashcomp @@ -1,7 +1,7 @@ # -*- mode: sh -*- _dmount_list() { - COMPREPLY=( $(dmount --list) ) + COMPREPLY=( $( compgen -W '$(dmount --list)' -- "$2" ) ) } complete -F _dmount_list dmount |