From b8f9be7da5c53d98d173275e3e60ec11c11792a6 Mon Sep 17 00:00:00 2001 From: "SilverAg.L" Date: Tue, 2 Dec 2025 03:15:06 +0800 Subject: [PATCH] Revert "to make sure terminal histories are always DROPPED when reboot." This reverts commit e466c25a3ca7b2ea591438021677ca91b72e463f. --- .zprofile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.zprofile b/.zprofile index 613f0da..a6cffc0 100644 --- a/.zprofile +++ b/.zprofile @@ -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