# Cheat my way through the CLI
if (( $+commands[navi] )); then
  eval "$(navi widget zsh)"

  # Add an alternate keybind (Ctrl-Esc) if we are in a Zellij session
  if (( ${+ZELLIJ} )); then
    bindkey '^\e' _navi_widget
  fi
fi