fakehome: use custom template for temp directory

This commit is contained in:
Michele Guerini Rocco 2019-05-28 12:20:51 +02:00
parent 3ca48afdd2
commit 9597451eb3
Signed by: rnhmjoj
GPG Key ID: 91BE884FBA4B591A

View File

@ -5,7 +5,7 @@ function clean_temp --on-process %self
rm -rf $FAKEHOME
end
set -x FAKEHOME (mktemp -d)
set -x FAKEHOME (mktemp -d /tmp/fakehome-XXX)
set -x HOME $FAKEHOME
set -x XDG_CONFIG_HOME $HOME/config
set -x XDG_DATA_HOME $HOME/data