This fixes the escapement issue with this sweet sweet thing

This commit is contained in:
Steven Lu 2013-08-12 11:09:57 -04:00
commit 57142e46c6

2
zshrc
View file

@ -68,7 +68,7 @@ function zshaddhistory() {
# do not do anything on common commands
# do the needful
echo "$PWD; $COMMAND_STR; $TTY@$HOST@$(date +%s.%N)" >> ~/.zsh_enhanced_history
print -r "$PWD; $COMMAND_STR; $TTY@$HOST@$(date +%s.%N)" >> ~/.zsh_enhanced_history
# rest is "default" zshaddhistory()
print -Sr ${COMMAND_STR}