GNU Astronomy Utilities - Bugs: bug #60618, Fixed directory string being...
You are not allowed to post comments on this tracker with your current authentication level.
bug #60618: Fixed directory string being removed on pressing TAB
Submitter: | Mohammad Akhlaghi <makhlaghi> | ||
Submitted: | Mon 17 May 2021 01:25:06 AM UTC | ||
Category: | TAB completion | Severity: | 3 - Normal |
Item Group: | Output not reasonable | Status: | Confirmed |
Privacy: | Public | Assigned to: | pedram |
Open/Closed: | Open |
Jump to the original submission
Thu 05 Aug 2021 10:37:32 PM UTC, comment #6: |
Mohammad Akhlaghi <makhlaghi> |
Thu 05 Aug 2021 07:06:53 PM UTC, comment #5: Look what I found straight from 'info'! Just type in: 'info bash program' and then use ']' and navigate to 'A programmable completion example'. Then you can find the actual bash completion program written for 'cd' itself!
|
Pedram Ashofteh-Ardakani <pedram> |
Sun 27 Jun 2021 06:25:34 AM UTC, comment #4: My pleasure :)
|
Pedram Ashofteh-Ardakani <pedram> |
Fri 25 Jun 2021 07:34:19 PM UTC, comment #3: Thanks for the nice review Pedram, and I am happy you liked the corrections ;-).
|
Mohammad Akhlaghi <makhlaghi> |
Fri 25 Jun 2021 02:35:33 PM UTC, comment #2: Oh, I got caught in the problems so much that I forgot to tell you the new autocomplete structure is pretty neat! I could see you have really put good effort into this :) Great job. |
Pedram Ashofteh-Ardakani <pedram> |
Fri 25 Jun 2021 02:25:34 PM UTC, comment #1: Hi Mohammad. I have been looking into this bug for quite a while now and got confused. The crazy thing is that as you said, one can get only the file's 'basename' suggestion by default, such as using 'M-?' on your keyboard! Just try this:
|
Pedram Ashofteh-Ardakani <pedram> |
Mon 17 May 2021 01:25:06 AM UTC, original submission:
When there are multiple matching files in a sub-directory, the default behavior of Bash's TAB completion is to only print the matching file names (not directories) to help the user visually identify the character to type.
|
Mohammad Akhlaghi <makhlaghi> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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.
Powered by Savane 3.13-02a9.
Corresponding source code
That is an interesting discovery ;-)!
Try the problematic scenario we have here, to see how it deals with it. Hopefully it will teack us some good lessons that we can then inplement in our script ;-).