]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - shell/zsh/env
zsh/rc: prepend "--" in X alias
[config/dotfiles.git] / shell / zsh / env
1 # Zsh configuration file for environment related options.
2
3 # Copyright (C) 2011-2014  Simon Ruderich
4 #
5 # This file is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
17
18
19 . ~/.shell/functions
20
21 source_config ~/.shell/env
22
23
24 # Make sure elements in PATH are unique.
25 typeset -U path PATH
26
27 # Use $TMPDIR/zsh as directory for temporary Zsh files to prevent symlink
28 # attacks - only helps if $TMPDIR points to a safe directory (which should be
29 # true with the settings in shell/env).
30 TMPPREFIX="$TMPDIR/zsh"
31
32
33 source_config ~/.zsh/env.local
34
35 # vim: ft=zsh