Skip to content
This repository was archived by the owner on Feb 14, 2021. It is now read-only.

Avoid leaking $item into shell#40

Open
crater2150 wants to merge 1 commit into
ytet5uy4:masterfrom
crater2150-zsh:localvars
Open

Avoid leaking $item into shell#40
crater2150 wants to merge 1 commit into
ytet5uy4:masterfrom
crater2150-zsh:localvars

Conversation

@crater2150

Copy link
Copy Markdown

Why

The $item variable is leaked into the shell. This is especially noticeable when using named dirs, my prompt showed ~item as the current directory after using fzf-change-directory.

What

  • makes item in __fzf::widget::insert and __fzf::widget::replace local

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant