Closed MrOneTwo closed 3 years ago
This line causes problems for me (sh: 36: kak_client_env_TMUX: parameter not set or null). Changing ${kak_client_env_TMUX:?} to ${kak_client_env_TMUX} fixes the problem. What's the meaning of the :? here?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andreyorst/fzf.kak/issues/91, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEUROT37AFJ7OEF4JSMZD4LTTBK7BANCNFSM46Y3LY3A .
oops, you right, I only use kakoune from tmux, so I've forgot that this variable can be empty for others.
:? forces the runtime check that variable is set
https://github.com/andreyorst/fzf.kak/blob/1b3a3beebbe7134e671fde2ef2f4242b34ae2c60/rc/modules/fzf-ctags.kak#L933
This line causes problems for me (
sh: 36: kak_client_env_TMUX: parameter not set or null
). Changing${kak_client_env_TMUX:?}
to${kak_client_env_TMUX}
fixes the problem. What's the meaning of the:?
here?