From: Christian Goeschel Ndjomouo Date: Thu, 2 Apr 2026 19:49:45 +0000 (-0400) Subject: bash-completion: complete relative path for filenames as well X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3ace36b203264e8b470e0922150b780aa14006f;p=thirdparty%2Futil-linux.git bash-completion: complete relative path for filenames as well Commit 1a76e3e only helped with the completion of directory names for relative paths. Let us complete filenames too for completeness (no pun intended). Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/bash-completion/umount b/bash-completion/umount index 5aea50653..78da1549a 100644 --- a/bash-completion/umount +++ b/bash-completion/umount @@ -89,7 +89,7 @@ _umount_module() COMPREPLY=( $( compgen -W '$( _umount_points_list )' -- "$cur" ) ) else compopt -o filenames - COMPREPLY=( $(compgen -o dirnames -- "$cur") ) + COMPREPLY=( $(compgen -f -- "$cur") ) return 0 fi }