Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Directory completion acts as if CHASE_LINKS is set



On 06/09/13 18:13, Bart Schaefer wrote:
On Sep 6,  1:42pm, Jan Larres wrote:
} Subject: Re: Directory completion acts as if CHASE_LINKS is set
}
} On 06/09/13 03:31, Bart Schaefer wrote:
} > In any case, this is a problem inherent in the way globbing interprets
} > "../" -- filename generation does not obey the same rules as "cd" path
} > resolution.
}
} Thanks, that patch does solve the issue with cd to a certain degree. But
} as you said yourself it is not specific to cd - for example, 'ls ../[TAB]'
} has the same problem.

No, you misunderstand.  It actually *is* specific to cd -- ls is an
external command and will physically follow ../, so it is correct for
completion for ls to do so as well.

Huh, you're right. I never noticed that. That's rather counterintuitive. Then I guess cd completion really is the only thing that can be changed. Thanks for clarifying!



Messages sorted by: Reverse Date, Date, Thread, Author