You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the CTRL-R command used to print the history is hardcoded to fc -rl 1, which shows the default history listing containing the event number followed by a command.
The fact that the command is hardcoded and can't be modified hinders the ability to customize how history is displayed. For example, using history -E or fc -rld the history listing can be extended to show the time when the command was run and the corresponding exit code.
My suggestion is to introduce a FZF_CTRL_R_COMMAND variable (just like CTRL-T and ALT-C), that can be set by the users who want to customize history listing. I can create a PR if considered a valuable feature.
The text was updated successfully, but these errors were encountered:
man fzf
)Info
Problem / Steps to reproduce
Currently the
CTRL-R
command used to print the history is hardcoded tofc -rl 1
, which shows the default history listing containing the event number followed by a command.The fact that the command is hardcoded and can't be modified hinders the ability to customize how history is displayed. For example, using
history -E
orfc -rld
the history listing can be extended to show the time when the command was run and the corresponding exit code.My suggestion is to introduce a
FZF_CTRL_R_COMMAND
variable (just like CTRL-T and ALT-C), that can be set by the users who want to customize history listing. I can create a PR if considered a valuable feature.The text was updated successfully, but these errors were encountered: