dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 6e0dbddf3bde52ba7b20fa9aa31886a144b59603
parent bd1d4ba2324fd0800ce65459598c2f6ceec7d203
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Mon,  7 Mar 2016 16:22:25 -0800

zsh-git-prompt requires haskell and haskell-stack

Diffstat:
M.zshrc | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.zshrc b/.zshrc @@ -2,7 +2,9 @@ source ~/code/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source ~/code/zsh-git-prompt/zshrc.sh if command -v cabal &>/dev/null; then - GIT_PROMPT_EXECUTABLE='haskell' + if command -v stack &>/dev/null; then + GIT_PROMPT_EXECUTABLE='haskell' + fi fi ZSH_THEME_GIT_PROMPT_CACHE=true