vi and friends: Fix /etc/ld.so.conf.d/* completion (Alioth: #312409).
This commit is contained in:
parent
e9082c4d76
commit
81dd740a57
@ -1848,7 +1848,7 @@ _install_xspec '!*.fig' xfig
|
|||||||
_install_xspec '!*.@(mid?(i)|cmf)' playmidi
|
_install_xspec '!*.@(mid?(i)|cmf)' playmidi
|
||||||
_install_xspec '!*.@(mid?(i)|rmi|rcp|[gr]36|g18|mod|xm|it|x3m|s[3t]m|kar)' timidity
|
_install_xspec '!*.@(mid?(i)|rmi|rcp|[gr]36|g18|mod|xm|it|x3m|s[3t]m|kar)' timidity
|
||||||
_install_xspec '!*.@(669|abc|am[fs]|d[bs]m|dmf|far|it|mdl|m[eo]d|mid?(i)|mt[2m]|okta|p[st]m|s[3t]m|ult|umx|wav|xm)' modplugplay modplug123
|
_install_xspec '!*.@(669|abc|am[fs]|d[bs]m|dmf|far|it|mdl|m[eo]d|mid?(i)|mt[2m]|okta|p[st]m|s[3t]m|ult|umx|wav|xm)' modplugplay modplug123
|
||||||
_install_xspec '*.@(o|so|so.!(conf)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)' vi vim gvim rvim view rview rgvim rgview gview emacs xemacs sxemacs kate kwrite
|
_install_xspec '*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)' vi vim gvim rvim view rview rgvim rgview gview emacs xemacs sxemacs kate kwrite
|
||||||
_install_xspec '!*.@(zip|z|gz|tgz)' bzme
|
_install_xspec '!*.@(zip|z|gz|tgz)' bzme
|
||||||
# konqueror not here on purpose, it's more than a web/html browser
|
# konqueror not here on purpose, it's more than a web/html browser
|
||||||
_install_xspec '!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))' netscape mozilla lynx opera galeon dillo elinks amaya firefox mozilla-firefox iceweasel google-chrome chromium-browser epiphany
|
_install_xspec '!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))' netscape mozilla lynx opera galeon dillo elinks amaya firefox mozilla-firefox iceweasel google-chrome chromium-browser epiphany
|
||||||
|
1
test/completion/vi.exp
Normal file
1
test/completion/vi.exp
Normal file
@ -0,0 +1 @@
|
|||||||
|
assert_source_completions vi
|
0
test/fixtures/shared/ld.so.conf.d/foo.txt
vendored
Normal file
0
test/fixtures/shared/ld.so.conf.d/foo.txt
vendored
Normal file
0
test/fixtures/shared/ld.so.conf.d/libfoo.conf
vendored
Normal file
0
test/fixtures/shared/ld.so.conf.d/libfoo.conf
vendored
Normal file
0
test/fixtures/shared/ld.so.conf.d/libfoo.so
vendored
Normal file
0
test/fixtures/shared/ld.so.conf.d/libfoo.so
vendored
Normal file
0
test/fixtures/shared/ld.so.conf.d/libfoo.so.1
vendored
Normal file
0
test/fixtures/shared/ld.so.conf.d/libfoo.so.1
vendored
Normal file
22
test/lib/completions/vi.exp
Normal file
22
test/lib/completions/vi.exp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
proc setup {} {
|
||||||
|
save_env
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
proc teardown {} {
|
||||||
|
assert_env_unmodified
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
setup
|
||||||
|
|
||||||
|
|
||||||
|
assert_complete_any "vi "
|
||||||
|
sync_after_int
|
||||||
|
|
||||||
|
|
||||||
|
assert_complete {libfoo.conf foo.txt} "vi $::srcdir/fixtures/shared/ld.so.conf.d/"
|
||||||
|
sync_after_int
|
||||||
|
|
||||||
|
|
||||||
|
teardown
|
Loading…
x
Reference in New Issue
Block a user