feat(nvr): test for nvr availability

This commit is contained in:
Michel 2023-04-17 18:11:11 +02:00
parent 9e7c5a076c
commit f9c350fffb

8
.envrc
View File

@ -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