mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 01:17:59 +00:00
Export INFOPATH for GNU info documentation.
This commit is contained in:
parent
0fee3c09e3
commit
30f8aef2a1
@ -15,7 +15,30 @@ 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
|
||||||
|
|
||||||
|
cdpath=(
|
||||||
|
$HOME
|
||||||
|
$HOME/Developer
|
||||||
|
)
|
||||||
|
|
||||||
|
infopath=(
|
||||||
|
$HOME/.tilde/share/info
|
||||||
|
$HOME/.tilde/opt/share/info
|
||||||
|
/usr/local/share/info
|
||||||
|
/usr/share/info
|
||||||
|
)
|
||||||
|
|
||||||
|
manpath=(
|
||||||
|
$HOME/.tilde/share/man
|
||||||
|
$HOME/.tilde/opt/share/man
|
||||||
|
/usr/local/share/man
|
||||||
|
/usr/share/man
|
||||||
|
)
|
||||||
|
|
||||||
|
for path_file in /etc/manpaths.d/*; do
|
||||||
|
manpath+=($(<$path_file))
|
||||||
|
done
|
||||||
|
|
||||||
path=(
|
path=(
|
||||||
$HOME/.tilde/bin
|
$HOME/.tilde/bin
|
||||||
@ -32,22 +55,6 @@ for path_file in /etc/paths.d/*; do
|
|||||||
path+=($(<$path_file))
|
path+=($(<$path_file))
|
||||||
done
|
done
|
||||||
|
|
||||||
manpath=(
|
|
||||||
$HOME/.tilde/share/man
|
|
||||||
$HOME/.tilde/opt/share/man
|
|
||||||
/usr/local/share/man
|
|
||||||
/usr/share/man
|
|
||||||
)
|
|
||||||
|
|
||||||
for path_file in /etc/manpaths.d/*; do
|
|
||||||
manpath+=($(<$path_file))
|
|
||||||
done
|
|
||||||
|
|
||||||
cdpath=(
|
|
||||||
$HOME
|
|
||||||
$HOME/Developer
|
|
||||||
)
|
|
||||||
|
|
||||||
# Language
|
# Language
|
||||||
export LANG="en_AU.UTF-8"
|
export LANG="en_AU.UTF-8"
|
||||||
export LC_ALL="$LANG"
|
export LC_ALL="$LANG"
|
||||||
|
Loading…
Reference in New Issue
Block a user