From af961825053bed2e6544e7167572f48a3742e03e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 11 Feb 2009 17:28:23 +0100 Subject: parameters: Moved some parameters to zshenv --- etc/env | 11 +++++++++++ etc/parameters | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'etc') diff --git a/etc/env b/etc/env index 6d61f04..31e734b 100644 --- a/etc/env +++ b/etc/env @@ -5,3 +5,14 @@ PS4='%{'$'\e[0;36m''%}%N%{'$'\e[0m''%}:%{'$'\e[0;33m''%}%i%{'$'\e[0m''%}│' fpath=($ZDIR/functions $ZDIR/completions $fpath) [[ -r $ZDIR/../provided/env ]] && source $ZDIR/../provided/env [[ -r $ZDIR/local-env ]] && source $ZDIR/local-env + +export EDITOR==vim +export MPD_HOST=saviour +export CALENDAR_DIR=$HOME/stuff +export HOST +export COLUMNS +export LINES +if [[ -x /usr/bin/lesspipe ]] { + export LESSOPEN='| /usr/bin/lesspipe %s' + export LESSCLOSE='/usr/bin/lesspipe %s %s' +} diff --git a/etc/parameters b/etc/parameters index 968e9b0..f5d6643 100644 --- a/etc/parameters +++ b/etc/parameters @@ -15,15 +15,4 @@ compdump=~/var/cache/zsh/compdump [[ $path[1] = $HOME/bin ]] || export PATH=$HOME/bin:$PATH linux: [[ -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man -# Used by other programs -export EDITOR==vim -export MPD_HOST=saviour -export CALENDAR_DIR=$HOME/stuff -export HOST -export COLUMNS -export LINES -if [[ -x /usr/bin/lesspipe ]] { - export LESSOPEN='| /usr/bin/lesspipe %s' - export LESSCLOSE='/usr/bin/lesspipe %s %s' -} openbsd: export PKG_PATH="ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/`machine -a`/:ftp://openbsd.ftp.fu-berlin.de/pub/OpenBSD/`uname -r`/packages/`machine -a`/" -- cgit v1.2.3