fakehome: use custom template for temp directory
This commit is contained in:
parent
3ca48afdd2
commit
9597451eb3
@ -5,7 +5,7 @@ function clean_temp --on-process %self
|
|||||||
rm -rf $FAKEHOME
|
rm -rf $FAKEHOME
|
||||||
end
|
end
|
||||||
|
|
||||||
set -x FAKEHOME (mktemp -d)
|
set -x FAKEHOME (mktemp -d /tmp/fakehome-XXX)
|
||||||
set -x HOME $FAKEHOME
|
set -x HOME $FAKEHOME
|
||||||
set -x XDG_CONFIG_HOME $HOME/config
|
set -x XDG_CONFIG_HOME $HOME/config
|
||||||
set -x XDG_DATA_HOME $HOME/data
|
set -x XDG_DATA_HOME $HOME/data
|
||||||
|
Loading…
Reference in New Issue
Block a user