blob: 1472a7ac24a097ce55c44f493e4fa3804c39a65a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#
# zsh/exports.zsh
#
# NOTE:
# Generic environment variables and those needing been set only once
# should go to `~/.profile'.
# This `GPG_TTY' variable should be set to the correct TTY where the shell
# is running. See also `gpg-agent(1)'
export GPG_TTY=$(tty)
# colors for BSD ls
if [[ -n "${IS_BSD}" ]]; then
export CLICOLOR=1
export LSCOLORS=exfxcxdxbxegedabagacad
fi
# Color setup for `ls': `LS_COLORS'
# NOTE: For unknown reason, the `LS_COLORS' variable get overridden when
# it is set in `~/.profile'.
if exists dircolors; then
eval $(dircolors -b)
fi
# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: #
|