1
0
mirror of https://github.com/yorukot/superfile.git synced 2025-02-06 11:00:15 +00:00

Update cd_on_quit.sh

This commit is contained in:
Yorukot 2024-05-20 12:01:24 +08:00 committed by GitHub
parent ee8b0174e8
commit d74136c265
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,6 @@ spf() {
# Linux
if [[ "$os" == "Linux" ]]; then
echo "hello"
export SPF_LAST_DIR="${XDG_STATE_HOME:-$HOME/.local/state}/superfile/lastdir"
fi
@ -18,4 +17,4 @@ spf() {
. "$SPF_LAST_DIR"
rm -f -- "$SPF_LAST_DIR" > /dev/null
}
}
}