From 8d895a70a57e166370063954e9a0455f46ccaad3 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Wed, 26 Apr 2023 19:55:33 -0500 Subject: [PATCH] history: Remove 'HISTFILE' path relocation warning 'HISTFILE' path relocation was done 2 years ago. It's time to cleanup the warning message. --- modules/history/init.zsh | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/modules/history/init.zsh b/modules/history/init.zsh index 3ef52ea4..084a7ed5 100644 --- a/modules/history/init.zsh +++ b/modules/history/init.zsh @@ -42,28 +42,3 @@ if ! zstyle -t ':prezto:module:history:alias' skip; then # Lists the ten most used commands. alias history-stat="history 0 | awk '{print \$2}' | sort | uniq -c | sort -n -r | head" fi - -if [[ -s "${OLD_HISTFILE::=${HISTFILE:h}/.zhistory}" ]]; then - - # New 'HISTFILE' doesn't exist yet, rename legacy one if available and notify. - if [[ ! -s "$HISTFILE" ]]; then - <