misc update

- known dependencies
- lessen symlink checking (might not easily break)
- move shell history into `/tmp`.
(py didn't often operate filesystem which doesn't matter)
This commit is contained in:
2025-12-15 11:32:59 +08:00
parent 3a1b467e5c
commit b4932ef737
4 changed files with 11 additions and 11 deletions

View File

@@ -1,10 +1,6 @@
# init at each startup
mkdir -p /tmp/$USER
#ln -sf /tmp/$UID $HOME/.tmp
[ $(readlink -f $HOME/.tmp) = "/tmp/$USER" ] || {
rm -f $HOME/.tmp
ln -s /tmp/$USER $HOME/.tmp
}
mkdir -p /tmp/$USER/PSReadLine
#ln -sf /tmp/$USER $HOME/.tmp
# avoid dumplicate env appending.
# [[ -f /run/user/$UID/.zshlogon ]] && return