From ce11a4feff34c3f6affe4bd1648704c1781484fe Mon Sep 17 00:00:00 2001 From: Tomasz Pala Date: Sun, 16 Oct 2016 11:15:53 +0200 Subject: [PATCH] runlevel command is not dangerous, but require confirmation for every csh-like history expansion (no_bang_hist disables it entirely) --- zshrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 96c0d75..a709d6d 100644 --- a/zshrc +++ b/zshrc @@ -13,7 +13,6 @@ alias halt=' halt' alias init=' init' alias poweroff=' poweroff' alias reboot=' reboot' -alias runlevel=' runlevel' alias shutdown=' shutdown' alias telinit=' telinit' @@ -23,7 +22,7 @@ for i in /etc/shrc.d/**/*.sh(N); do done unset i -setopt hist_ignore_space hist_ignore_all_dups list_packed transient_rprompt +setopt hist_ignore_space hist_ignore_all_dups list_packed transient_rprompt hist_verify bindkey -e >/dev/null 2>&1 -- 2.43.0