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

Suggestions without new prompt #679

Closed
beho opened this issue Apr 21, 2013 · 8 comments
Closed

Suggestions without new prompt #679

beho opened this issue Apr 21, 2013 · 8 comments
Milestone

Comments

@beho
Copy link

beho commented Apr 21, 2013

Is it possible to configure fish not to clone current prompt when printing out suggestions ? I would like to be able to continuously edit a single line even if navigating into some deep directory while using suggestions and completions several times.

ZSH does this out of the box (I have no idea if it's configurable). It simply prints out suggestions, overwrites/updates them when requesting another suggestion and clears them after executing a command. This way suggestions never stay on screen after issuing a command. It is much cleaner than fish printing out a list of suggestions and new prompt with previous content every time there is an ambiguity.

@ridiculousfish
Copy link
Member

If I understand this correctly, it's a request for fish to print out completions below the prompt instead of above it.

@beho
Copy link
Author

beho commented Apr 21, 2013

Yep, I think it can be stated that way.

For illustration, if I write in my home L<tab>C<tab>o<tab>.

In ZSH I get:
Screen Shot 2013-04-21 at 20 26 17

In Fish:
Screen Shot 2013-04-21 at 20 23 16

In the end I don't care about suggestions so there is no reason for them to stay on the screen longer than necessary, they just clutter it.

Thanks for considering it !

@gustafj
Copy link
Contributor

gustafj commented Apr 22, 2013

+1
This is something i also miss coming from zsh.

@terlar
Copy link
Contributor

terlar commented Apr 22, 2013

I guess this issue is related: #291

@noahfrederick
Copy link
Contributor

For what it's worth, I am strongly in favor of the proposed behavior. It addresses two pain points for me:

  1. I don't want a bunch of suggestions sticking around in my scrollback, and perhaps more importantly, a bunch of lines containing incomplete commands, which is confusing.
  2. I find the context switch (moving to a new prompt) in the current implementation to be disorienting visually.

@AndreTheHunter
Copy link

+1
I'd love to see this feature too

@ridiculousfish
Copy link
Member

fish master does this now

@KamilaBorowska
Copy link
Contributor

If it does, then why not close this issue? (hint: it does in master version)

@zanchey zanchey modified the milestones: next-minor, fish-future Feb 18, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants