Closed DakEnviy closed 1 year ago
Does that error happen if you spawn a new fish shell. e.g. fish
while in a fish session?
Yeah, you are right. Thank you for your help! I have this configuration for tmux:
alias tn 'tmux new-session -s $fish_pid'
trap 'tmux kill-session -t $fish_pid' EXIT
The problem was this. My fix is:
alias tn 'tmux new-session -s $fish_pid'
if status is-interactive
trap 'tmux kill-session -t $fish_pid' EXIT
end
Do you think that is good enough?
Yes, that's perfect! In my own dotfiles (https://github.com/PatrickF1/dotfiles/blob/main/.config/fish/config.fish#L28), I do status is-interactive || exit
and put everything for interactive use below it.
Before proceeding...
Describe the bug
When tmux is running:
Error message appears in every preview. Error message format:
can't find session: <some_number>
Without tmux:
Error message appears in every preview. Error message:
no server running on /tmp/tmux-1000/default
Steps to reproduce
Just run any command with preview.
Environment
Versions installed:
5ecaeb65ff892547c34f6a9a33761acabff39261
Which, if any, configuration variables such as
fzf_preview_file_cmd
are set?