Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add / Fix Tab Completion #10

Open
frederickjh opened this issue Mar 20, 2019 · 2 comments
Open

Add / Fix Tab Completion #10

frederickjh opened this issue Mar 20, 2019 · 2 comments

Comments

@frederickjh
Copy link

As the maintainer states in the README.md the tab completion in z-fish, z-is not working.

I personally would use tab completion a lot as I work as a web developer and have a lot of directories with the same name but a parent directory that have unique names.

With tab completion as it is in the Bash version of z I can start typing the unique parent directory, hit tab to complete, then add a slash and start on the subdiretory, hit tab to complete to quickly get to a folder.

Currently the non-functioning tab completion is all in the z.fish file. After taking a look at how others have written completions in fish I have to wonder if this will require one or more files.
In fish the completions I have seen are in ~/.config/fish/completions/. So, one of the need files could be a completion file ~/.config/fish/completions/z.fish.

@frederickjh
Copy link
Author

frederickjh commented Mar 20, 2019

A lot of fish shell completions can be found here. Many of these call hidden fish functions found here.

The information about the fish shell commands commandline and complete will be useful for this.

@sjl
Copy link
Owner

sjl commented Mar 20, 2019

If someone PR's a version of it that merges cleanly I'd probably take it, but I don't care about it enough to implement it myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants