[Bash-completion-devel] [bash-completion-Bugs][314451] Adding ".[0-9]*" in _install_xspec regexp for ghostview
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Tue Sep 24 23:13:25 UTC 2013
bash-completion-Bugs item #314451, was opened at 2013-09-25 03:13 by Max Akhmedov
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314451&group_id=100114
Status: Open
Priority: 3
Submitted By: Max Akhmedov (zlobober-guest)
Assigned to: Nobody (None)
Summary: Adding ".[0-9]*" in _install_xspec regexp for ghostview
Distribution: None
Originally reported in: None
Milestone: None
Status: None
Original bug number:
Initial Comment:
Metapost usually produces output files with extensions like .1, .2 etc. By default it's impossible to autocomplete such files when using gv, so it's useful to add numeric extensions recognition with something like:
_install_xspec '!*.@(@(?(e)ps|?(E)PS|pdf|PDF|[0-9]*)?(.gz|.GZ|.bz2|.BZ2|.Z))' gv ggv kghostview
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314451&group_id=100114
More information about the Bash-completion-devel
mailing list