From ca4b1b968e98e2273a052ee52c79e9f6ef3e7797 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Mon, 21 Feb 2011 16:18:20 +0100 Subject: [PATCH] zshrc: Cabal, Python 2.6, Android SDK, lesspipe. --- conf/zshrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/conf/zshrc b/conf/zshrc index 5d62737..1dc8678 100644 --- a/conf/zshrc +++ b/conf/zshrc @@ -22,22 +22,25 @@ add_myprefix_to() { MYPREFIX=~/build/myprefix add_myprefix_to PATH bin add_myprefix_to PATH sbin -add_to PATH ~/.gem/ruby/1.8/bin +add_to PATH ~/.cabal/bin add_myprefix_to LD_LIBRARY_PATH lib add_myprefix_to LD_LIBRARY_PATH lib64 add_myprefix_to MANPATH man add_myprefix_to PKG_CONFIG_PATH lib/pkgconfig -add_myprefix_to PYTHONPATH lib/python2.5/site-packages +add_myprefix_to PYTHONPATH lib/python2.6/site-packages add_myprefix_to PYTHONPATH lib/python/site-packages add_myprefix_to PYTHONPATH lib/python add_myprefix_to PERL5LIB lib/perl/`perl -e 'printf"%vd\n",$^V'` add_myprefix_to PERL5LIB share/perl/`perl -e 'printf"%vd\n",$^V'` add_myprefix_to R_LIBS lib/R:/usr/lib/R/site-library +add_to PATH ~/build/android-sdk-linux_86/platform-tools:~/build/android-sdk-linux_86/tools # ZLE {{{1 bindkey '\e[3~' delete-char bindkey "\e[1~" beginning-of-line bindkey "\e[4~" end-of-line +bindkey "\eOH" beginning-of-line +bindkey "\eOF" end-of-line setopt printeightbit # Prompt {{{1 @@ -51,7 +54,7 @@ chpwd() { [[ -t 1 ]] && print -Pn '\e]2;%n@%m:%~\a' }; chpwd # Customisation of Programs {{{1 alias ls='ls --color=auto' export EMAIL='Gabriel Ebner ' -test -x /usr/bin/lesspipe && eval `/usr/bin/lesspipe` +test -x /usr/bin/lesspipe && export LESSOPEN="|lesspipe.sh %s" test -x /usr/bin/vim && export EDITOR=/usr/bin/vim export MPD_HOST=127.0.0.1 MPD_PORT=6600