summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-02-11 17:28:23 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-02-11 17:28:23 +0100
commitaf961825053bed2e6544e7167572f48a3742e03e (patch)
treeeab93200fbfdf36ff0cacfa2605ac5ed03be3e13 /etc
parentc7fb23258a7692e846b115afa427ea36dba02e6d (diff)
parameters: Moved some parameters to zshenv
Diffstat (limited to 'etc')
-rw-r--r--etc/env11
-rw-r--r--etc/parameters11
2 files changed, 11 insertions, 11 deletions
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`/"