.files/dotfiles/z_profile
Philip Henning c377eb276a consolidate and templeate my to files
in order to stop maintainung different files for each operationg system
2021-09-11 23:45:56 +02:00

26 lines
649 B
Plaintext

#
# {{@@ header() @@}}
#
# Use vim as editor on X
VISUAL='vim'
export VISUAL
# Use vim as standard editor
EDITOR='vim'
export EDITOR
{%@@ if profile == 'VWAGWOY00349' @@%}
[[ $(command -v /opt/homebrew/bin/brew) ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
{%@@ endif @@%}
[[ $(command -v pyenv) ]] && eval "$(pyenv init --path)"
{%@@ 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
# Set XDG_CONFIG_HOME
XDG_CONFIG_HOME="{{@@ env['HOME'] @@}}/.config"
export XDG_CONFIG_HOME
{%@@ endif @@%}