mirror of
https://github.com/shokinn/.files.git
synced 2025-06-28 07:40:40 +00:00
remove fig; fix pyenv initialization
This commit is contained in:
parent
66cab63945
commit
cd10055f53
2 changed files with 6 additions and 21 deletions
|
@ -1,8 +1,3 @@
|
|||
{%@@ if profile == 'WVDEWOBMC001307' @@%}
|
||||
# Fig pre block. Keep at the top of this file.
|
||||
[[ -f "$HOME/.fig/shell/zprofile.pre.zsh" ]] && . "$HOME/.fig/shell/zprofile.pre.zsh"
|
||||
{%@@ endif @@%}
|
||||
|
||||
#
|
||||
# {{@@ header() @@}}
|
||||
#
|
||||
|
@ -21,9 +16,10 @@ export EDITOR
|
|||
export PATH="$PATH:/Users/vw6au89/Library/Application Support/JetBrains/Toolbox/scripts"
|
||||
{%@@ endif @@%}
|
||||
|
||||
# Initialize pyenv
|
||||
[[ $(command -v pyenv) ]] && export PYENV_ROOT="$HOME/.pyenv"
|
||||
[[ $(command -v pyenv) ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
[[ $(command -v pyenv) ]] && eval "$(pyenv init --path)"
|
||||
[[ $(command -v pyenv) ]] && command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
[[ $(command -v pyenv) ]] && eval "$(pyenv init -)"
|
||||
|
||||
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' @@%}
|
||||
# Set DOTNET_ROOT enviroment variable
|
||||
|
@ -41,8 +37,3 @@ export XDG_CONFIG_HOME
|
|||
# Run VPN-Kit alpine VM to route traffic through Windows and if connected through VPNs
|
||||
wsl.exe -d wsl-vpnkit service wsl-vpnkit start
|
||||
{%@@ endif @@%}
|
||||
|
||||
{%@@ if profile == 'WVDEWOBMC001307' @@%}
|
||||
# Fig post block. Keep at the bottom of this file.
|
||||
[[ -f "$HOME/.fig/shell/zprofile.post.zsh" ]] && . "$HOME/.fig/shell/zprofile.post.zsh"
|
||||
{%@@ endif @@%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue