Fixed !$ issue

This commit is contained in:
Austen Adler 2015-07-22 16:35:09 -04:00
parent 14904a1b71
commit fef06b01ac

View File

@ -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
#}