1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-02 01:39:25 +00:00

[Fix #762] Use $LOGNAME instead of $USER

$USER is deprecated.
This commit is contained in:
Sorin Ionescu
2015-02-13 00:00:27 -05:00
parent 4411c95a83
commit 88aee30ae8
5 changed files with 5 additions and 5 deletions

View File

@ -67,7 +67,7 @@ fi
#
if [[ ! -d "$TMPDIR" ]]; then
export TMPDIR="/tmp/$USER"
export TMPDIR="/tmp/$LOGNAME"
mkdir -p -m 700 "$TMPDIR"
fi