python setup

This commit is contained in:
Daniel Lundin 2022-08-25 10:10:44 +02:00
parent 979b2b066d
commit 67d5f6db8d
2 changed files with 7 additions and 0 deletions

View file

@ -26,6 +26,7 @@ local servers = {
"dockerls",
"jsonls",
-- "sql",
"pyright",
"sumneko_lua",
"terraformls",
"yamlls",

6
.zshrc
View file

@ -150,6 +150,12 @@ export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
## direnv
eval "$(direnv hook zsh)"
## pyenv
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
## eksctl
if [ ! -f "${fpath[1]}/_eksctl" ]; then
command -v eksctl >/dev/null 2>&1 && eksctl completion zsh > "${fpath[1]}/_eksctl"