summaryrefslogtreecommitdiff
path: root/zsh/profile
blob: 7c70bb4ee0fba79e3082af9607ac9e9b9ea0e3ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- mode: shell-script -*-

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

if [[ -n ${TERM} ]]; then
  # Make C-q and C-s work in zsh.
  #
  # See https://en.wikipedia.org/wiki/Software_flow_control for gory
  # details.
  stty -ixon
fi

source_if_exists zsh/profile