1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-24 16:11:57 +00:00

Merge commit 'bee6e09262a6145fc178ddc85c656da4bb83a9a9'

This commit is contained in:
Roman Perepelitsa 2022-01-26 16:04:09 +01:00
commit 4f143b7b97

View file

@ -245,7 +245,7 @@ END
return 1
fi
if [ -n "$TMPDIR" -a '(' '(' -d "$TMPDIR" -a -w "$TMPDIR" ')' -o '!' '(' -d /tmp -a -w /tmp ')' ')' ]; then
if [ -n "${TMPDIR-}" -a '(' '(' -d "${TMPDIR-}" -a -w "${TMPDIR-}" ')' -o '!' '(' -d /tmp -a -w /tmp ')' ')' ]; then
local tmp="$TMPDIR"
else
local tmp=/tmp