2023-02-07 13:11:35 +00:00
|
|
|
{%@@ if profile == 'WVDEWOBMC001307' @@%}
|
2022-09-30 12:05:56 +00:00
|
|
|
# Fig pre block. Keep at the top of this file.
|
|
|
|
[[ -f "$HOME/.fig/shell/zprofile.pre.zsh" ]] && . "$HOME/.fig/shell/zprofile.pre.zsh"
|
2022-02-08 10:53:29 +00:00
|
|
|
{%@@ endif @@%}
|
|
|
|
|
2021-09-11 21:45:56 +00:00
|
|
|
#
|
|
|
|
# {{@@ header() @@}}
|
|
|
|
#
|
|
|
|
|
|
|
|
# Use vim as editor on X
|
|
|
|
VISUAL='vim'
|
|
|
|
export VISUAL
|
|
|
|
# Use vim as standard editor
|
|
|
|
EDITOR='vim'
|
|
|
|
export EDITOR
|
|
|
|
|
2023-02-07 13:11:35 +00:00
|
|
|
{%@@ if profile == 'WVDEWOBMC001307' @@%}
|
2021-09-11 21:45:56 +00:00
|
|
|
[[ $(command -v /opt/homebrew/bin/brew) ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
|
2022-09-30 12:05:56 +00:00
|
|
|
|
|
|
|
# Added by Toolbox App
|
|
|
|
export PATH="$PATH:/Users/vw6au89/Library/Application Support/JetBrains/Toolbox/scripts"
|
2021-09-11 21:45:56 +00:00
|
|
|
{%@@ endif @@%}
|
2022-09-01 15:28:31 +00:00
|
|
|
|
|
|
|
[[ $(command -v pyenv) ]] && export PYENV_ROOT="$HOME/.pyenv"
|
|
|
|
[[ $(command -v pyenv) ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
|
|
|
[[ $(command -v pyenv) ]] && eval "$(pyenv init --path)"
|
2021-09-11 21:45:56 +00:00
|
|
|
|
|
|
|
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' @@%}
|
|
|
|
# Set DOTNET_ROOT enviroment variable
|
|
|
|
DOTNET_ROOT=/opt/dotnet
|
|
|
|
export DOTNET_ROOT
|
|
|
|
|
2022-08-31 22:40:05 +00:00
|
|
|
{%@@ endif @@%}
|
|
|
|
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
|
2021-09-11 21:45:56 +00:00
|
|
|
# Set XDG_CONFIG_HOME
|
|
|
|
XDG_CONFIG_HOME="{{@@ env['HOME'] @@}}/.config"
|
|
|
|
export XDG_CONFIG_HOME
|
2021-09-29 19:16:09 +00:00
|
|
|
|
2022-08-31 22:40:05 +00:00
|
|
|
{%@@ endif @@%}
|
|
|
|
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
|
2021-09-29 19:16:09 +00:00
|
|
|
# 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 @@%}
|
2022-02-08 10:53:29 +00:00
|
|
|
|
2023-02-07 13:11:35 +00:00
|
|
|
{%@@ if profile == 'WVDEWOBMC001307' @@%}
|
2022-09-30 12:05:56 +00:00
|
|
|
# Fig post block. Keep at the bottom of this file.
|
|
|
|
[[ -f "$HOME/.fig/shell/zprofile.post.zsh" ]] && . "$HOME/.fig/shell/zprofile.post.zsh"
|
2022-02-08 10:53:29 +00:00
|
|
|
{%@@ endif @@%}
|