mirror of
https://github.com/shokinn/.files.git
synced 2025-06-28 07:40:40 +00:00
consolidate and templeate my to files
in order to stop maintainung different files for each operationg system
This commit is contained in:
parent
7a1e8fda4b
commit
c377eb276a
40 changed files with 246 additions and 454 deletions
25
dotfiles/z_profile
Normal file
25
dotfiles/z_profile
Normal file
|
@ -0,0 +1,25 @@
|
|||
#
|
||||
# {{@@ 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 @@%}
|
Loading…
Add table
Add a link
Reference in a new issue