diff --git a/plugins/per-directory-history/per-directory-history.zsh b/plugins/per-directory-history/per-directory-history.zsh index acbd64757..cfc4535d3 100644 --- a/plugins/per-directory-history/per-directory-history.zsh +++ b/plugins/per-directory-history/per-directory-history.zsh @@ -68,14 +68,14 @@ function per-directory-history-toggle-history() { if [[ $_per_directory_history_is_global == true ]]; then _per-directory-history-set-directory-history _per_directory_history_is_global=false - print -n "\nusing local history" + zle -I + echo "using local history" else _per-directory-history-set-global-history _per_directory_history_is_global=true - print -n "\nusing global history" + zle -I + echo "using global history" fi - zle .push-line - zle .accept-line } autoload per-directory-history-toggle-history