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

Alt-C in Bash leaves extra blank spaces on command prompt #4118

Open
5 of 10 tasks
joliss opened this issue Dec 5, 2024 · 1 comment
Open
5 of 10 tasks

Alt-C in Bash leaves extra blank spaces on command prompt #4118

joliss opened this issue Dec 5, 2024 · 1 comment

Comments

@joliss
Copy link

joliss commented Dec 5, 2024

Checklist

  • I have read through the manual page (man fzf)
  • I have searched through the existing issues
  • For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version

0.56.3 (add1aec)

OS

  • Linux
  • macOS
  • Windows
  • Etc.

Shell

  • bash
  • zsh
  • fish

Problem / Steps to reproduce

The Alt+C shell feature in Bash leaves extra blank spaces on the command prompt after completing:

fzf.bash.mp4
  • fzf 0.56.3 (add1aec)
  • Bash 5.2.21(1)-release
  • Ubuntu Linux 24.04 (via SSH from macOS iTerm2)
  • I initialized shell integration with eval "$(fzf --bash)".
  • No FZF_* environment variables are set.
@junegunn
Copy link
Owner

I can't reproduce the problem. Can you check if you still have the problem on a clean bash environment?

env -i "PATH=$PATH" bash --noprofile --rcfile <(fzf --bash)

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