refactor: smarter tmpdir creation + cd
This commit is contained in:
parent
b39303f743
commit
582edf277d
@ -8,7 +8,7 @@ else
|
||||
fi
|
||||
|
||||
|
||||
mktemp -d && cd /tmp/$(ls -t /tmp | grep tmp. | head -1)
|
||||
nutmp=$(mktemp -d);cd "$nutmp";unset nutmp
|
||||
|
||||
WORKDIR=$(pwd)
|
||||
HOMEBIN="/home/$USER/.local/bin"
|
||||
|
Loading…
Reference in New Issue
Block a user