octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62492] cd foo tab should give only directorie


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #62492] cd foo tab should give only directories
Date: Fri, 20 May 2022 14:22:01 -0400 (EDT)

Follow-up Comment #1, bug #62492 (project octave):

Currently I'm not sure how much this behavior does or can check what the
context is before providing suggestions. E.g., if I create the following in
the current folder:

foo.m
foofoo.m
foo/
foo2/

then I get the following behavior:

>> foo<tab><tab>
foo/      foo.m     foo2/     foofoo.m
>> cd foo<tab><tab>
foo/      foo.m     foo2/     foofoo.m
>> copy foo<tab><tab>
foo/      foo.m     foo2/     foofoo.m
>> rmdir foo<tab><tab>
foo/      foo.m     foo2/     foofoo.m
>> rm foo<tab><tab>
foo/      foo.m     foo2/     foofoo.m


obviously these include contexts that would expect a file, directory, or both.
 

Are there hooks in place to check the preceeding command and have some sort of
file/folder/both lookup?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62492>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]