aboutsummaryrefslogtreecommitdiff
path: root/.zshenv
blob: c0ffcb31b48092f52b388ce98f01715f97438631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/zsh

if test -z "${XDG_RUNTIME_DIR}"; then
    export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
    if ! test -d "${XDG_RUNTIME_DIR}"; then
        mkdir "${XDG_RUNTIME_DIR}"
        chmod 0700 "${XDG_RUNTIME_DIR}"
    fi
fi

typeset -U PATH path
path=("$HOME/.local/bin" "$path[@]")
export PATH
export BEMENU_BACKEND=wayland
export EDITOR=nvim
export MOZ_ENABLE_WAYLAND=1