1
0
Fork 0

Export INFOPATH for GNU info documentation.

pull/4/head
Sorin Ionescu 13 years ago
parent 0fee3c09e3
commit 30f8aef2a1

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

Loading…
Cancel
Save