Browse Source

Export INFOPATH for GNU info documentation.

master
Sorin Ionescu 13 years ago
parent
commit
30f8aef2a1
  1. 39
      environment.zsh

39
environment.zsh

@ -15,22 +15,19 @@ unsetopt HUP # Don't kill jobs on shell exit. @@ -15,22 +15,19 @@ unsetopt HUP # Don't kill jobs on shell exit.
unsetopt CHECK_JOBS # Don't report on jobs when shell exit.
# PATH
typeset -U path manpath cdpath fpath
typeset -U cdpath fpath infopath manpath path
path=(
$HOME/.tilde/bin
$HOME/.tilde/opt/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/bin
/usr/sbin
/sbin
cdpath=(
$HOME
$HOME/Developer
)
for path_file in /etc/paths.d/*; do
path+=($(<$path_file))
done
infopath=(
$HOME/.tilde/share/info
$HOME/.tilde/opt/share/info
/usr/local/share/info
/usr/share/info
)
manpath=(
$HOME/.tilde/share/man
@ -43,11 +40,21 @@ for path_file in /etc/manpaths.d/*; do @@ -43,11 +40,21 @@ for path_file in /etc/manpaths.d/*; do
manpath+=($(<$path_file))
done
cdpath=(
$HOME
$HOME/Developer
path=(
$HOME/.tilde/bin
$HOME/.tilde/opt/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/bin
/usr/sbin
/sbin
)
for path_file in /etc/paths.d/*; do
path+=($(<$path_file))
done
# Language
export LANG="en_AU.UTF-8"
export LC_ALL="$LANG"

Loading…
Cancel
Save