feat: add support for tmux-nvr

This commit is contained in:
Stefan Imhoff
2022-12-24 11:10:06 +01:00
parent 470138ea6b
commit 0e6fa66a5c
4 changed files with 33 additions and 27 deletions

9
zshrc
View File

@@ -40,6 +40,13 @@ export PATH="$HOME/.rd/bin:$PATH"
# Rust
export PATH="$HOME/.cargo/bin:$PATH"
# TMUX nvr
if [ -n "$TMUX" ]; then
eval "$(tmux show-environment -s NVIM_LISTEN_ADDRESS 2> /dev/null)"
else
export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket
fi
# Conda
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
@@ -304,8 +311,8 @@ antigen bundle dotenv
antigen bundle extract
antigen bundle fzf
antigen bundle gem
antigen bundle git
antigen bundle gh
antigen bundle git
antigen bundle git-extras
antigen bundle gitignore
antigen bundle gulp