Browse Source

Add opam detection to zshrc

master
Taylor Bockman 8 years ago
parent
commit
694b63cb48
  1. 6
      dotfiles/zshrc

6
dotfiles/zshrc

@ -105,5 +105,7 @@ PROMPT="%{$fg[white]%}┌%{$reset_color%}[%{$fg[yellow]%}%n%{$reset_color%}@%{$f
%{$fg[white]%}└─╼%{$reset_color%} " %{$fg[white]%}└─╼%{$reset_color%} "
# Run opam init # Run opam init
~/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true if hash opam 2>/dev/null; then
eval `opam config env` ~/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
eval `opam config env`
fi

Loading…
Cancel
Save