Revert "to make sure terminal histories are always DROPPED when reboot."
This reverts commit e466c25a3c.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user