From 7c37257f7d2c22f143fe1e55f602f97f82107e46 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Mon, 7 Feb 2022 14:21:20 +0800 Subject: [PATCH] Update pyenv env --- .zprofile | 4 ++++ .zshrc | 1 + config/install.conf.yml | 2 ++ zsh/env.zsh | 8 ++++++++ 4 files changed, 15 insertions(+) create mode 100644 .zprofile diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..d921439 --- /dev/null +++ b/.zprofile @@ -0,0 +1,4 @@ +export PYENV_ROOT="$HOME/.pyenv" +export PATH="$PYENV_ROOT/bin:$PATH" + +eval "$(pyenv init --path)" diff --git a/.zshrc b/.zshrc index 3900d9b..1f7bda2 100644 --- a/.zshrc +++ b/.zshrc @@ -221,3 +221,4 @@ alias adbcap="adb shell screencap -p" [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh + diff --git a/config/install.conf.yml b/config/install.conf.yml index 13e0da9..9a8f9ba 100644 --- a/config/install.conf.yml +++ b/config/install.conf.yml @@ -16,6 +16,8 @@ - link: ~/.zshrc: path: .zshrc + ~/.zprofile: + path: .zprofile ~/.p10k.zsh: path: .p10k.zsh ~/.gitconfig: diff --git a/zsh/env.zsh b/zsh/env.zsh index fcfba2a..55a283f 100644 --- a/zsh/env.zsh +++ b/zsh/env.zsh @@ -184,3 +184,11 @@ export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH" if [[ -d $HOME/Sync/beancount ]]; then export BEANCOUNT_ROOT=$HOME/Sync/beancount fi + + +[[ -e "/home/einverne/lib/oracle-cli/lib/python3.6/site-packages/oci_cli/bin/oci_autocomplete.sh" ]] && source "/home/einverne/lib/oracle-cli/lib/python3.6/site-packages/oci_cli/bin/oci_autocomplete.sh" +export PATH=/home/einverne/bin:$PATH + + +export PATH="$HOME/.poetry/bin:$PATH" +export PATH="$HOME/.fly/bin:$PATH"