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", "dockerls",
"jsonls", "jsonls",
-- "sql", -- "sql",
"pyright",
"sumneko_lua", "sumneko_lua",
"terraformls", "terraformls",
"yamlls", "yamlls",

6
.zshrc
View file

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