mainThe GNU Bourne-Again SHell - Support: sr #109285, Feature Request - autocomplete...

 
 

sr #109285: Feature Request - autocomplete only shows the difference downstream of entry

Submitter:  None
Submitted:  Wed 29 Mar 2017 03:08:29 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  Need Info
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 04 Apr 2017 06:49:37 PM UTC, comment #1: 

How about seeing what you can do with the readline `completion-prefix-display-length' variable?

Chet Ramey <chet>
Group administrator
Wed 29 Mar 2017 03:08:29 PM UTC, original submission:  

I work with a lot of files where I've documented progress by expanding the extension. E.g.,

sourcefile.step1.step2.step3.step4.etc

similarly, my work flow will branch,

sourcefile.step1.step1A.step1B.step2A.etc.etc

You can imagine with lots of steps, or steps with long names, the file names become an eyesore (literally), when I use the tab autocomplete, because when I double tap TAB, i get a list of files that I might be interested in.

However, I already know that I'm interested in

sourcefile.step1.step2.step3

What I want to see is whats different,

sourcefile.step1.step2.step3.x
sourcefile.step1.step2.step3.y
sourcefile.step1.step2.step3.z

so could the TAB autocomplete be modified to only show the components that differ? e.g.,

...x
...y
...z

I already know whats in "..." , because I typed it in.

Hooray computers!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chet (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-04 chet StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code