commit a617346e9168df33fc3ff8cbd72b3da72ea5affc
parent 50f9a18f2b341e55f7b7fa89c8dba1ace9ea563f
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 14 Feb 2020 15:21:41 +0100
Add cuda/gcc PATH configuration to profile
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/.profile b/.profile
@@ -155,5 +155,12 @@ t_stop_done() {
alias julia-fast='julia --procs 1 --optimize=3 --math-mode=fast'
+if [ -d "/usr/local/cuda/bin" ]; then
+ PATH=/usr/local/cuda/bin:$PATH
+ if [ -d "/usr/local/gcc-8.3.0/bin" ]; then
+ PATH=/usr/local/gcc-8.3.0/bin:$PATH
+ fi
+fi
+
ENV=$HOME/.kshrc
export PATH HOME TERM ENV MANPATH