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

# Export PATH without repetitions
export -U PATH="$HOME/.local/bin${PATH:+:}$PATH"
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"

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