Date: Mon, 11 Jun 2012 02:39:45 +0200 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: bash completion On 2012-06-09 17:08, Frank Dittrich wrote: > On 06/09/2012 01:35 PM, magnum wrote: >> I noticed some problems with completion for unique. >> >> ./unique <part[TAB] will refuse completion of file name. >> >> Also, >> >> ./unique <file outf[TAB] refuses to complete but I suppose that is >> intended since unique will refuse to overwrite anyway. > > Yes, this was intentional > > You can re-enable the normal file name completion by removing > > the last branch inside the case ... esac in _unique(): > > Just these 3 lines have to be removed: > > _*) > return 0 > ;; > > If you prefer this version, I'm fine with it. Was that supposed to fix a redirected "<file" too? I tried it now but it does not seem to make any difference in either case. I also tried "./john <file" and that does complete as expected. magnum
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.