summaryrefslogtreecommitdiff
path: root/zsh/profile
blob: b0320ef0b3af1132ad38e53be204203f015414b9 (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 ${CARGO_HOME} ${GOPATH} ${OPAMROOT}/default; do
    [[ -d ${dir}/bin ]] && path=(${dir}/bin ${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