diff --git a/.envrc b/.envrc index d97c96f..b5d8742 100644 --- a/.envrc +++ b/.envrc @@ -14,3 +14,11 @@ if (($(echo $(direnv_layout_dir)/python* | wc --words) > 1)); then log_error "Found several python environments" \ls .direnv fi + +# neovim remote +if [[ ! -x $HOME/.local/bin/nvr ]]; then + log_error "Neovim remote (nvr) not found" + log_status "To create a symlink:" + log_error "mkdir -p $HOME/.local/bin" + log_error "ln -s \$HOME/.config/nvim/.direnv/python-3*/bin/nvr(om[1]) \$HOME/.local/bin" +fi