Ville Skyttä 0f450219b6 Remove most "-o filenames" options to "complete".
Turn it on dynamically when needed instead; see doc/styleguide.txt for
a longer explanation.  This fixes many non-filename completions which
had been previously more or less broken due to unwanted
escape-as-filenames behavior.
2010-11-01 19:29:45 +02:00

28 lines
302 B
Plaintext

proc setup {} {
save_env
}
proc teardown {} {
assert_env_unmodified {/OLDPWD=/d}
}
setup
assert_complete_any "screen -"
sync_after_int
assert_complete {bar "bar bar.d/" foo foo.d/} \
"screen -c fixtures/shared/default/" "-c should complete files/dirs"
sync_after_int
teardown