LazyVim/.envrc

25 lines
670 B
Plaintext
Raw Normal View History

2023-03-31 17:56:00 +02:00
# See `direnv stdlib` for special functions provided by _direnv_.
use asdf
# Git
export GIT_AUTHOR_NAME="Michel"
export GIT_AUTHOR_EMAIL="michel@none"
export GIT_COMMITTER_NAME="Michel"
export GIT_COMMITTER_EMAIL="michel@none"
# Python virtual env
layout python3
if (($(echo $(direnv_layout_dir)/python* | wc --words) > 1)); then
log_error "Found several python environments"
\ls .direnv
fi
2023-04-17 18:11:11 +02:00
# 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