Just for Fish Shell users. Instead of using the commands



Just for Fish Shell users. Instead of using the commands

export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

You should edit/create your ~/.config/fish/conf.d/config.fish file and add the following content to it

“`

set -gx PATH /usr/local/cuda-9.0/bin $PATH
set -gx LD_LIBRARY_PATH /usr/local/cuda-9.0/lib64 $LD_LIBRARY_PATH

“`

Source: Deep Learning on Medium