Skip to content

Temp files remain afterbecome #4283

@junegunn

Description

@junegunn
          > > I recently realized that the `become` action leaves behind temporary files

Could you clarify which temporary files you mean? I wonder if it's a bug of fzf.

The /tmp/fzf-{temp,proxy)-* files. I also thought that it might be bug of fzf, but after looking briefly at the code, I saw the comment below and figured that it's probably not, so I didn't look more into it:

fzf/src/terminal.go

Lines 4919 to 4922 in e4489dc

case actBecome:
valid, list := t.buildPlusList(a.a, false)
if valid {
// We do not remove temp files in this case

Originally posted by @bitraid in #4280 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions