From 95a8ab61b5f489349d30b6402c4b3a4bf8bc296c Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 27 Oct 2018 19:07:29 +0200 Subject: zsh: nvim, colorgcc --- zsh/.zshrc | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index a60304d..271d475 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -37,12 +37,16 @@ if [[ -d ~/nlp_scripts ]]; then export PATH=~/nlp_scripts:$PATH fi +if [[ -d /usr/lib/colorgcc/bin ]]; then + PATH=/usr/lib/colorgcc/bin:$PATH +fi + which R &>/dev/null if [[ $? == 0 ]]; then export R_LIBS_USER=$HOME/.R fi -export EDITOR='vim -p' +export EDITOR='nvim -p' export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 @@ -164,26 +168,6 @@ case $TERM in ;; esac -# ############################################################################# -# host specifics -# ############################################################################# - -case `hostname` in - 2pac|CLuster|coltrane|donna|vicious|lemmy) - umask u=rwx,g=rwx,o=rx - alias tmux="tmux -f ~/.tmux.`hostname`.conf" - ;; - bryant|barkley|bogues|curry|durant|iverson|nowitzki|oneal|ming|*.uberspace.de) - PATH=/usr/lib/colorgcc/bin:$PATH - ;; -esac - -case `hostname` in - CLuster|node*|gpu*) - alias tmux="tmux -f ~/.tmux.cluster.conf" - ;; -esac - # ############################################################################# # aliases # ############################################################################# @@ -223,7 +207,7 @@ alias jpegtran='jpegtran -trim' alias pdfmerge='gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=/tmp/merged.pdf -dBATCH' alias thumb='convert -resize 200x200' -alias qmv='qmv -evim -fdo' +alias qmv='qmv -envim -fdo' alias radio='mocp ~/.moc/radio.m3u' alias muxn='tmux new -s' -- cgit v1.2.3