summaryrefslogtreecommitdiff
path: root/zsh/.zshenv
blob: d93e4cae67e334f25768576f36788243d4a8663e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export EDITOR=nvim
export VISUAL=nvim

# Export PATH without repetitions
export -U PATH="$HOME/.config/guix/current/bin${PATH:+:}$PATH"
export -U PATH="/usr/local/sbin${PATH:+:}$PATH"
export -U PATH="/usr/bin${PATH:+:}$PATH"
export -U PATH="/usr/local/sbin:/usr/local/bin${PATH:+:}$PATH"
export -U PATH="$HOME/.local/bin${PATH:+:}$PATH"
export -U PATH="$HOME/.local/quarto/bin${PATH:+:}$PATH"

# Necessary for fenics to work
export PYTHONPATH="/usr/lib/python3.7/site-packages/:/usr/lib/python3.8/site-packages/"

if [[ -d "$HOME/.gem/ruby" ]]; then
    export -U PATH=$(echo "$HOME/.gem/ruby/"*"/bin")"${PATH:+:}$PATH"
fi

# Python startup file
[[ -f "$HOME/.pythonrc" ]] && export PYTHONSTARTUP="$HOME/.pythonrc"

# Source guix profile
# guix_profile=$HOME/.guix-env
# [[ -f $guix_profile ]] && . $guix_profile