]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/env
shell/env: export MTR_OPTIONS
[config/dotfiles.git] / zsh / env
diff --git a/zsh/env b/zsh/env
index 603c79134041e4e48c26332a85227a19d23cddcc..30483a0178dea80120bc2c6c6ee1a9dcfdf4d8dc 100644 (file)
--- a/zsh/env
+++ b/zsh/env
@@ -1,6 +1,6 @@
 # Zsh configuration file for environment related options.
 
-# Copyright (C) 2011-2013  Simon Ruderich
+# Copyright (C) 2011-2014  Simon Ruderich
 #
 # This file is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 
 . ~/.shell/functions
 
-source_debug ". ~/.zsh/env"
-
 source_config ~/.shell/env
 
 
 # Make sure elements in PATH are unique.
 typeset -U path PATH
 
-# Setup lesspipe to view multiple file-types (like .gz, .zip, etc.) with less.
-# Useful in combination with the "p" alias. Taken from Debian's default bash
-# files. Thanks.
-if [[ -x /usr/bin/lesspipe ]]; then
-    eval "$(SHELL=/bin/sh lesspipe)" || echo "Broken lesspipe!" >&2
-fi
+# Use $TMPDIR/zsh as directory for temporary Zsh files to prevent symlink
+# attacks - only helps if $TMPDIR points to a safe directory (which should be
+# true with the settings in shell/env).
+TMPPREFIX="$TMPDIR/zsh"
 
 
 source_config ~/.zsh/env.local
 
-source_debug ". ~/.zsh/env (done)"
-
 # vim: ft=zsh