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: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #62492] cd foo tab should give only directories
Date: Sat, 21 May 2022 17:44:46 -0400 (EDT)

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

Readline can do certain completion tasks with rl_attempted_completion_function
but I have not seen that used inside a REPL to distinguish between files and
directories or anything like that. Note that bash uses the bash-completion
package which is a separate project to make it context aware for various
commands like cd, sort, hg, git, and all that. So typing "sort --ran TAB" will
give the choice of random-sort or random-source etc.

This sounds useful for Octave commands too (imagine typing format TAB and it
lists long, short, compact, etc). But definitely a serious undertaking.


    _______________________________________________________

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]