aboutsummaryrefslogtreecommitdiff
path: root/cargo
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2021-02-16 16:37:22 +1300
committerTom Ryder <tom@sanctum.geek.nz>2021-02-16 16:37:22 +1300
commit9fafa922dec3bf68dacf2b52e4d5a3216fd5579e (patch)
treed73950bc7ba36ba4151d03f4abde4cd25215875d /cargo
parentAdd profile.d stub for cabal (Haskell) PATH set (diff)
downloaddotfiles-9fafa922dec3bf68dacf2b52e4d5a3216fd5579e.tar.gz
dotfiles-9fafa922dec3bf68dacf2b52e4d5a3216fd5579e.zip
Add profile.d stub for cargo (Rust) PATH set
Diffstat (limited to 'cargo')
-rw-r--r--cargo/profile.d/cabal.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/cargo/profile.d/cabal.sh b/cargo/profile.d/cabal.sh
new file mode 100644
index 00000000..b5730916
--- /dev/null
+++ b/cargo/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