Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Content of $LBUFFER is missing #9

Open
aragon999 opened this issue Feb 17, 2022 · 0 comments
Open

Content of $LBUFFER is missing #9

aragon999 opened this issue Feb 17, 2022 · 0 comments
Assignees

Comments

@aragon999
Copy link
Contributor

aragon999 commented Feb 17, 2022

While implementing #8 I noticed that when I am on main (I used v0.2.0 previously), the content of $LBUFFER is not considered anymore.

So when I have:
❯ less
as the current prompt and press alt + . I see the fzf "window", but when selecting an entry I end up with the prompt like:
❯ <selected_file>

Not sure why this is happening, as I not fully understand the changes and the code. But I noticed that when I revert the change, i.e. local left=$$LBUFFER" it works again. So I think there is some problem either with the regex or some other if does not behave as it should.

I only have the additional plugin zsh-autosuggestions installed and use the powerlevel10k theme.

@b0o b0o self-assigned this Mar 5, 2022
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

2 participants