From f4b7c046446b5b0f0fe7937edd1de04b7de52aba Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Mon, 15 Jun 2020 21:27:59 -0400 Subject: [PATCH] Pyenv default packages --- defaults/default-packages | 5 +++++ playbooks/roles/anyenv/tasks/main.yml | 11 +++++++++++ vim/vimrc | 10 +++++----- 3 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 defaults/default-packages diff --git a/defaults/default-packages b/defaults/default-packages new file mode 100644 index 0000000..5dbb104 --- /dev/null +++ b/defaults/default-packages @@ -0,0 +1,5 @@ +ipython +python-language-server +requests +neovim +youtube-dl diff --git a/playbooks/roles/anyenv/tasks/main.yml b/playbooks/roles/anyenv/tasks/main.yml index ad7cc75..8f5a138 100644 --- a/playbooks/roles/anyenv/tasks/main.yml +++ b/playbooks/roles/anyenv/tasks/main.yml @@ -59,6 +59,17 @@ args: creates: ~/.anyenv/envs/pyenv/plugins/pyenv-virtualenv +- name: pyenv default packages plugin + shell: git clone https://github.com/jawshooah/pyenv-default-packages.git ~/.anyenv/envs/pyenv/plugins/pyenv-default-packages + args: + creates: ~/.anyenv/envs/pyenv/plugins/pyenv-default-packages + +- name: symlink pyenv-defaults + file: + src: ~/.dotfiles/defaults/default-packages + dest: ~/.anyenv/envs/pyenv/default-packages + state: link + - name: nodenv nvmrc plugin shell: git clone https://github.com/ouchxp/nodenv-nvmrc.git ~/.anyenv/envs/nodenv/plugins/nodenv-nvmrc args: diff --git a/vim/vimrc b/vim/vimrc index 6602cc6..9e26d88 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -40,11 +40,11 @@ if has("persistent_undo") endif call plug#begin('~/.config/nvim/plugged') -if has('python3') && has('timers') - Plug 'AlphaMycelium/pathfinder.vim' -else - echoerr 'pathfinder.vim is not supported on this Vim installation' -endif +" if has('python3') && has('timers') +" Plug 'AlphaMycelium/pathfinder.vim' +" else +" echoerr 'pathfinder.vim is not supported on this Vim installation' +" endif Plug 'junegunn/vim-plug' "LSP Stuff