Revert "to make sure terminal histories are always DROPPED when reboot."

This reverts commit e466c25a3c.
This commit is contained in:
2025-12-02 03:15:06 +08:00
parent e466c25a3c
commit b8f9be7da5

View File

@@ -6,13 +6,6 @@ mkdir -p /tmp/$USER
ln -s /tmp/$USER $HOME/.tmp
}
# [[ -L ~/.zhistory && -L ~/.zsh_history && -L ~/.bash_history ]] || {
touch /run/user/$UID/.history
ln -sf /run/user/$UID/.history ~/.zhistory
ln -sf /run/user/$UID/.history ~/.zsh_history
ln -sf /run/user/$UID/.history ~/.bash_history
# }
# avoid dumplicate env appending.
# [[ -f /run/user/$UID/.zshlogon ]] && return
# touch /run/user/$UID/.zshlogon