diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2021-02-16 16:37:22 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2021-02-16 16:37:22 +1300 |
commit | 9fafa922dec3bf68dacf2b52e4d5a3216fd5579e (patch) | |
tree | d73950bc7ba36ba4151d03f4abde4cd25215875d | |
parent | Add profile.d stub for cabal (Haskell) PATH set (diff) | |
download | dotfiles-9fafa922dec3bf68dacf2b52e4d5a3216fd5579e.tar.gz dotfiles-9fafa922dec3bf68dacf2b52e4d5a3216fd5579e.zip |
Add profile.d stub for cargo (Rust) PATH set
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | cargo/profile.d/cabal.sh | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -10,6 +10,7 @@ install-bin \ install-bin-man \ install-cabal \ + install-cargo \ install-cpanm \ install-curl \ install-dillo \ @@ -396,6 +397,9 @@ install-bin-man: install-cabal: cp -p -- cabal/profile.d/*.sh $(HOME)/.profile.d +install-cargo: + cp -p -- cargo/profile.d/*.sh $(HOME)/.profile.d + install-cpanm: cp -p -- cpanm/profile.d/*.sh $(HOME)/.profile.d 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 |