Open joshmedeski opened 1 year ago
This works for me:
if test -n "$TMUX"
eval (string replace "NVIM_LISTEN_ADDRESS=" "set -x NVIM_LISTEN_ADDRESS " (tmux show-environment -s NVIM_LISTEN_ADDRESS))
else
set -x NVIM_LISTEN_ADDRESS /tmp/nvimsocket
end
I converted everything to fish compatible shell and had to do a string substitution to change to the fish way of setting variables.
Hope this helps someone else.
I don't use fish, but I'm happy to look at a PR that adds support for fish!
I'm using the fish shell. So the eval code won't work as it.
I don't mind forking the plugin and adding fish support, is there a good approach for supporting multiple shell environments?