[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44095] readline configuration - tab autocompl
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #44095] readline configuration - tab autocompletion of paths |
Date: |
Tue, 27 Jan 2015 16:40:03 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.4.0 |
Update of bug #44095 (project octave):
Summary: tab autocompletion bug => readline configuration -
tab autocompletion of paths
_______________________________________________________
Follow-up Comment #1:
I will just paste here from the IRC
on your example, suppose you do "cd AA/A<tab>" you will get "cd AA/AA".
The reason is not because it thinks there is an AA inside AA. The problem is
that after a "/" it starts to autocomplete again from your current directory
and is autocompleting the AA on your current directory
and the reason it does that is because when you are auto completing, if
readline sees a "/" it thinks you are dividing so starts autocompling again.
It does not see as path separator. However, it will act correctly if you
"cd 'AA/A<tab". When you do this, it sees you are autocompleting a string,
so you don't want a division, it most likely is a path
note that this also happens you have a dash on your path "a-file-name"
because
it gets confused with a subtraction
you could fix this by configuring readline to see / and - as parts of
filepaths if they come after a cd command for example
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44095>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/