diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-26 21:22:34 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-26 21:22:34 +0200 |
commit | 2b91596b4c88345ef0639eef5b88a8dca9d514b3 (patch) | |
tree | facdc21ed1fcd1d90aaae9895df18038625677ce /etc | |
parent | e04baababaf7c29f62646ee86f9944a5f23dce5e (diff) |
Moved ZDIR and fpath to zshenv
Diffstat (limited to 'etc')
-rw-r--r-- | etc/env | 9 | ||||
-rw-r--r-- | etc/parameters | 1 | ||||
-rw-r--r-- | etc/rc | 1 |
3 files changed, 9 insertions, 2 deletions
@@ -0,0 +1,9 @@ +## vim:ft=zsh +## zshenv +## Daniel Friesel <derf@derf.homelinux.org> +## https://derf.homelinux.org/~derf/dotfiles/zsh/env +## see also: https://derf.homelinux.org/~derf/dotfiles/zsh/ + +ZDIR=$HOME/packages/zsh/etc +fpath=($ZDIR/functions $ZDIR/completions $fpath) +[[ -r $ZDIR/../provided/env ]] && source $ZDIR/../provided/env diff --git a/etc/parameters b/etc/parameters index 2bd152a..e454982 100644 --- a/etc/parameters +++ b/etc/parameters @@ -9,7 +9,6 @@ LISTMAX=0 TIMEFMT='%E real %U user %S system %P %J' # Paths -fpath=($ZDIR/functions $ZDIR/completions $fpath) [[ $path[1] = $HOME/bin ]] || export PATH=$HOME/bin:$PATH linux: [[ -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man @@ -5,7 +5,6 @@ ## see also: https://derf.homelinux.org/~derf/dotfiles/zsh/ ## mostly internal stuff -ZDIR=$HOME/packages/zsh/etc uname=$(uname) alias 'linux:'='[[ $uname = Linux ]] &&' alias 'non-linux:'='[[ $uname = Linux ]] ||' |