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

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

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