dotfiles/zsh.d/navi.zsh

10 lines
229 B
Bash

# 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