Support .xz suffix in info page completions.
This commit is contained in:
parent
d13d73345e
commit
7e3c9af115
1
CHANGES
1
CHANGES
@ -121,6 +121,7 @@ bash-completion (1.x)
|
|||||||
* Don't hardcode path to lsmod.
|
* Don't hardcode path to lsmod.
|
||||||
* Fix sbcl file/dirname completion (Debian: #545743).
|
* Fix sbcl file/dirname completion (Debian: #545743).
|
||||||
* Add /sbin to $PATH when invoking lspci and lsusb.
|
* Add /sbin to $PATH when invoking lspci and lsusb.
|
||||||
|
* Support .xz suffix in info page completions.
|
||||||
|
|
||||||
[ Todd Zullinger ]
|
[ Todd Zullinger ]
|
||||||
* Make yum complete on filenames after install, deplist, update and upgrade
|
* Make yum complete on filenames after install, deplist, update and upgrade
|
||||||
|
@ -45,7 +45,7 @@ _info()
|
|||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
# strip suffix from info pages
|
# strip suffix from info pages
|
||||||
COMPREPLY=( ${COMPREPLY[@]%.@(gz|bz2|lzma)} )
|
COMPREPLY=( ${COMPREPLY[@]%.@(gz|bz2|xz|lzma)} )
|
||||||
COMPREPLY=( $( compgen -W '${COMPREPLY[@]%.*}' -- "${cur//\\\\/}" ) )
|
COMPREPLY=( $( compgen -W '${COMPREPLY[@]%.*}' -- "${cur//\\\\/}" ) )
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user