summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-25 08:27:30 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-25 08:27:30 +0100
commitc1943e312304ba0d7646e0ed9dd0bb25526590ea (patch)
tree54acdb4e605b00b26484846d7e6022ac128f03ed
parent5df9099249853af918b7f4ce8b438acfbe966b4e (diff)
fix: export cuda paths
-rwxr-xr-x.config/shell/profile4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index 015237d..a3f5951 100755
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -40,6 +40,10 @@ eval "$(pyenv init --path)"
# cargo runnable
export PATH="${XDG_DATA_HOME:-$HOME/.local/share}/cargo/bin:$PATH"
+# Cuda
+export PATH="/opt/cuda/bin:$PATH"
+export LD_LIBRARY_PATH="/opt/cuda/lib64:$LD_LIBRARY_PATH"
+
# Poetry autocompletion
fpath+=~/.zfunc