summaryrefslogtreecommitdiff
path: root/zsh/profile
blob: f15282fe386ee943ff639442f9e003c702d3f56f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- mode: shell-script -*-

source_if_exists dotfiles-${UNAME}/zsh/profile
source_if_exists dotfiles-${DOMAIN}/zsh/profile
source_if_exists dotfiles-${HOST}/zsh/profile

() {
  local dir
  for dir in ~/{.local/bin,bin} ${GOPATH:-~/go}/bin; do
    [[ -d ${dir} ]] && path=(${dir} ${path})
  done
}