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

Shell Auto-Completion / Search feature #48

Open
sheharyarn opened this issue Mar 26, 2015 · 2 comments
Open

Shell Auto-Completion / Search feature #48

sheharyarn opened this issue Mar 26, 2015 · 2 comments

Comments

@sheharyarn
Copy link

When I do

% joe ls

it just prints a blob of all possible joe .gitignore files. _It's not very readable_. If it had auto-completion, we could press tab midway and it would list relevant options for selection:

% joe vi<tab press>
vim          virtualenv          visualstudio

This makes it easier for the user to go through possible options without going insane reading a huge list of names separated by a comma. Or another option would be to create a search feature, so the user can search for relevant options:

% joe search vi
labview
vim
virtualenv
visualstudio

Right now, I'm doing this to filter the list:

% joe ls | awk '{split($0,a,", "); for (var in a) print a[var]}' | grep -i vi
labview
vim
virtualenv
visualstudio
@andreis
Copy link

andreis commented Oct 2, 2015

👍

reima added a commit to reima/joe that referenced this issue Oct 16, 2015
@kendfss
Copy link

kendfss commented Oct 2, 2021

Here's a fork which implements a regex-friendly search command.

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

3 participants