浏览代码

Revert "fix issue with /home/manu/tmp"

This reverts commit 217dbe5aa86224e9dc0047241dd205c7f653994e.
Emmanuel Bouthenot 17 年之前
父节点
当前提交
43e5083689
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      .zsh.d/zshrc

+ 0 - 3
.zsh.d/zshrc

@@ -59,9 +59,6 @@ if [ "$SUDO_USER" -a $UID = 0 ]; then
     # ugly hack : reset some file perms to normal to avoid warnings
     chmod 0644 ~/.zcompdump
     chown $SUDO_USER:$SUDO_USER ~/.zcompdump
-
-    # unsetting TMPDIR when logged as root
-    [ -z "$TMPDIR" ] && unset TMPDIR
 fi
 
 # sourcing extra file