aboutsummaryrefslogtreecommitdiff
path: root/cabal/profile.d/cabal.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2021-02-22 23:57:57 +1300
committerTom Ryder <tom@sanctum.geek.nz>2021-02-22 23:57:57 +1300
commit4af268ce5d0555328c92dc86917d101629908aba (patch)
tree367500cafe0b1fa632c49fc66b960417c2a4c580 /cabal/profile.d/cabal.sh
parentMerge branch 'release/v10.26.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-4af268ce5d0555328c92dc86917d101629908aba.tar.gz
dotfiles-4af268ce5d0555328c92dc86917d101629908aba.zip
Merge branch 'release/v11.0.0'v11.0.0
* release/v11.0.0: Suppress performative wokeness in new Git Add profile.d stub for cargo (Rust) PATH set Add profile.d stub for cabal (Haskell) PATH set
Diffstat (limited to 'cabal/profile.d/cabal.sh')
-rw-r--r--cabal/profile.d/cabal.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/cabal/profile.d/cabal.sh b/cabal/profile.d/cabal.sh
new file mode 100644
index 00000000..b5730916
--- /dev/null
+++ b/cabal/profile.d/cabal.sh
@@ -0,0 +1,3 @@
+# Include user-built Haskell programs if the dir exists
+[ -d "$HOME"/.cabal/bin ] || return
+PATH=$HOME/.cabal/bin:$PATH