From a27cc282bd194459934c0ca2dc7857a0d3e42ee6 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Fri, 25 Feb 2022 16:19:55 +0100 Subject: [PATCH] pyenv: replace hard path by environment variable * Replaces the python virtualenv hard path by the $HOME environment variable in order to adapt to the user setting. * Corrects a github URL to avoid the gitmemory one. Co-Authored-by: iGor milhit --- README.md | 2 +- init.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0eeb9e6..b6137d4 100644 --- a/README.md +++ b/README.md @@ -113,5 +113,5 @@ pyenv deactivate [4]: /requirements [5]: https://www.nordtheme.com/ports/vim [7]: https://github.com/junegunn/vim-plug#installation -[8]: https://www.gitmemory.com/ryanoasis/nerd-fonts +[8]: https://www.github.com/ryanoasis/nerd-fonts [9]: https://github.com/pyenv/pyenv-installer diff --git a/init.vim b/init.vim index 14939e8..e1ffc50 100644 --- a/init.vim +++ b/init.vim @@ -243,7 +243,7 @@ let g:coc_filetype_map = { 'pandoc': 'markdown' } " Al " ######################################### " ######################################### " Python provider in a pyenv -let g:python3_host_prog='/home/igor/.pyenv/versions/neovim3/bin/python' +let g:python3_host_prog='$HOME/.pyenv/versions/neovim3/bin/python' " Imports sorting let g:isort_command='isort'