summaryrefslogtreecommitdiff
path: root/dot_config/zsh/zprofile
blob: 9a1692a6b0a8743f0669e2e76b108bd48db867e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# vim: ft=zsh
xzsource zprofile.pre

: ${PAGER:=less} ${EDITOR:=vi} \
  ${HOSTNAME:=$(uname -n)} ${USER:=$(id -un)} \
  ${HISTFILE:=~/.local/state/history/zsh}
export EDITOR HISTFILE PAGER

setopt nullglob
path=(~/bin ~/.local/share/sh ~/.local/*/bin /opt/*/bin {/usr,}{/local,}/{s,}bin)
fpath[1,0]=($ZDOTDIR/functions)

xsource ~/.local/share/sh/xdg

xzsource zprofile.{local,post}