joshmedeski / sesh

Smart session manager for the terminal
MIT License
410 stars 16 forks source link

how to configure fzf for default or reverse layout mode? #98

Closed mayersj1 closed 2 months ago

mayersj1 commented 2 months ago

What happened?

I have no special config for sesh. I'm using the sample keybinding shown in the repository. On three of my four machines, invoking the sesh popup shows the prompt at the top. On the fourth machine, the prompt is at the bottom of the screen. Is there some special fzf configuration that I'm not aware of that could be different here?

Version

dev

Relevant log output

No response

Reviewed

joshmedeski commented 2 months ago

Look at your "FZF_DEFAULT_OPTS" and "FZF_TMUX_OPTS" variables.

Here's what I have them set to on my machine: https://github.com/joshmedeski/dotfiles/blob/e86fff4306b584095df62e4fa3790db17e6c94de/.config/fish/conf.d/fzf.fish?plain=1#L2

mayersj1 commented 2 months ago

That was the pointer I needed. the machine missing this variable was my work machine that has a different .zshrc and I'd fogotten about the hm-session-vars.sh sourcing that needed to happen. Working now! Thanks!