Autocompletion should be allowed for files/directories #5

Closed
qrush opened this Issue Sep 28, 2012 · 3 comments

Projects

None yet

2 participants

@qrush
Contributor
qrush commented Sep 28, 2012

This probably needs to be a magic comment, something like:

# Provide default completions

@lenary
lenary commented Sep 30, 2012

The other option is to have sub <command> --completions echo out something like [files] or [directories] etc as required.

@qrush
Contributor
qrush commented Oct 1, 2012

Yeah, I'm actually wondering if this is an issue. You can always listen for the --completions flag, and exec ls or run a quick find. Going to close for now.

@qrush qrush closed this Oct 1, 2012
@lenary
lenary commented Oct 1, 2012

IMO zsh's completion is far better than anything we can come up with using exec ls, however as I haven't the time to make a patch, I'll let this one go for the moment. Maybe if I get a moment I'll sort it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment