When in a Zsh shell and pressing Alt-s, the session list opens with FZF, thanks to the script provided in the README.
Pressing Esc or Ctrl-C goes back to the shell, but we need to press Enter again before we're given another Zsh prompt. The same issue appears when entering a tmux session: after detaching from tmux, we need to press Enter again before we're given another Zsh prompt.
Calling the function by typing in sesh-session at the Zsh prompt and pressing Enter, and then closing FZF already does what we want - we're given another Zsh prompt. This PR aims to replicate the same behavior through the Alt-s shortcut.
When in a Zsh shell and pressing
Alt-s
, the session list opens with FZF, thanks to the script provided in theREADME
.Pressing
Esc
orCtrl-C
goes back to the shell, but we need to pressEnter
again before we're given another Zsh prompt. The same issue appears when entering a tmux session: after detaching from tmux, we need to pressEnter
again before we're given another Zsh prompt.Calling the function by typing in
sesh-session
at the Zsh prompt and pressingEnter
, and then closing FZF already does what we want - we're given another Zsh prompt. This PR aims to replicate the same behavior through theAlt-s
shortcut.