Repository navigation
|
Using fish shell integration (fzf --fish | FZF_CTRL_T_COMMAND= FZF_ALT_C_COMMAND= source), the history widget (Ctrl+R) shows the most recent command at the top. I'd like to reverse this so the most recent entry appears at the bottom, matching the behavior I had with bash integration. I tried with --tac and --no-tac, but nothing happend. Is there a correct way to control history display order via FZF_CTRL_R_OPTS in fish integration? |
Replies: 2 comments 5 replies
|
Setting |
|
I attached the example: |





I found the solution. The way
fishworks is completely different (and I'm not that familiar with it yet). I have an alias like this in Bash:alias fzf="fzf --bind 'ctrl-d:reload(find . -type d),ctrl-f:reload(eval "$FZF_DEFAULT_COMMAND")' --preview 'bat --color=always --style=numbers --line-range=:500 {}' --tac --exact --bind change:top"I've partially converted this to work with fish:
If I remove the --tac option from here,…