Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add CUDA to path if exists.

  • Loading branch information...
commit d4750295a61b7ed2a16e0126eb3e29006ce271ec 1 parent a492035
Jeremy Voorhis authored December 17, 2012

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  .zshrc
5  .zshrc
@@ -56,6 +56,11 @@ case $(uname) in
56 56
   ;;
57 57
 esac
58 58
 
  59
+# CUDA
  60
+if [[ -d /usr/local/cuda ]]; then
  61
+  export PATH="/usr/local/cuda/bin:$PATH"
  62
+fi
  63
+
59 64
 # credentials
60 65
 if [ -f ~/.zshrc_private ]; then
61 66
   source ~/.zshrc_private

0 notes on commit d475029

Please sign in to comment.
Something went wrong with that request. Please try again.