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

completions: extra space is added in zsh when completing paths #5582

Open
istudyatuni opened this issue Feb 4, 2025 · 1 comment
Open

completions: extra space is added in zsh when completing paths #5582

istudyatuni opened this issue Feb 4, 2025 · 1 comment

Comments

@istudyatuni
Copy link

Description

When completing paths for command like jj diff | (| means cursor), and when using dynamic completions in zsh, extra space is added: jj diff pkgs/ |

Probably this is problem with zsh itself?

Steps to Reproduce the Problem

  1. Add to zsh config: source <(COMPLETE=zsh jj)
  2. Type jj diff | at any jj repo with changes and press tab

Expected Behavior

Space is not added, like in bash/fish

Actual Behavior

Space is added

Specifications

  • Platform: NixOS
  • Version: 0.25
  • Zsh version: 5.9

Also tested on macos

@istudyatuni istudyatuni changed the title completions: extra space is added when completing paths completions: extra space is added in zsh when completing paths Feb 4, 2025
@yuja
Copy link
Contributor

yuja commented Feb 5, 2025

#5039

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