From fef06b01acb85d64af5b7d82c5be08780da89e24 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Wed, 22 Jul 2015 16:35:09 -0400 Subject: [PATCH] Fixed !$ issue --- shells/zshrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/shells/zshrc b/shells/zshrc index b1fa303..5aa4eeb 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -242,9 +242,9 @@ antigen bundle zsh-users/zsh-syntax-highlighting printf "applying..." antigen apply echo "done" -zshaddhistory () { - print -sr -- "${1%%$'\n'}" - fc -p ~/.zsh_history_detail - print -sr -- "${1%%$'\n'} ### ${PWD} $(date '+%Y-%m-%d %R')" - return 1 -} +#zshaddhistory () { +# print -sr -- "${1%%$'\n'}" +# fc -p ~/.zsh_history_detail +# print -sr -- "${1%%$'\n'} ### ${PWD} $(date '+%Y-%m-%d %R')" +# return 1 +#}