Skip to content

access shell $HISTCMD in file name template #73

Open
@andykais

Description

@andykais

Hi, I am trying to use this plugin to map command output to a fzf interface that shows commands and their outputs side-by-side. To accomplish this, I need to be able to record individual files with a file name I can look up that includes the $HISTCMD. This will let me use commands like fc -lr

10025  fc -l
10024  history -h
10023  history --help
10022  history --helkp
10021  echo "\!"

to map history command numbers to their respective output files. I can then map that to a command log file from this plugin and tie the two together with fzf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions