From b5eaf95863e63ef1a2d2fb1971c51d6c3b8d5b00 Mon Sep 17 00:00:00 2001 From: lhark Date: Tue, 14 Mar 2017 10:36:21 -0400 Subject: [PATCH] Add cuda variables --- zshrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/zshrc b/zshrc index e47331d..ab94f41 100644 --- a/zshrc +++ b/zshrc @@ -9,10 +9,11 @@ # adapté et amélioré par lhark -export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:~/bin +export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:~/bin:/opt/cuda/bin export EDITOR=/usr/bin/vim # Prevent mime associations by wine export WINEDLLOVERRIDES="winemenubuilder.exe=d" +export CUDA_ROOT=/opt/cuda # Get rc dir path @@ -71,7 +72,7 @@ alias -g ......='../../../../..' alias -g .......='../../../../../..' alias -g ........='../../../../../../..' # Hackish tweaks -alias steam-wine='WINEDEBUG=-all wine ~/.wine/drive_c/Program\ Files/Steam/Steam.exe -no-dwrite >/dev/null 2>&1 &' +alias steam-wine='WINEDEBUG=-all wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite -no-cef-sandbox >/dev/null 2>&1 &' alias pacaur='AURDEST=$HOME/aur pacaur' alias redwm='cd ~/aur/dwm-git; updpkgsums; makepkg -fi --noconfirm; killall dwm' alias minecraft='java -jar $HOME/.minecraft/launcher.jar' @@ -216,9 +217,9 @@ bindkey "^[[6~" history-beginning-search-forward bindkey "^[[5;5~" beginning-of-buffer-or-history bindkey "^[[6;5~" end-of-buffer-or-history # Origine / Fin (pavé numérique) -bindkey "^[[1~" beginning-of-line +bindkey "^[[H" beginning-of-line bindkey "^[[4~" end-of-line -# Origine / Fin +## Origine / Fin bindkey "^[OH" beginning-of-line bindkey "^[OF" end-of-line # Delete