mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
This fixes the escapement issue with this sweet sweet thing
This commit is contained in:
parent
124e114a97
commit
57142e46c6
1 changed files with 1 additions and 1 deletions
2
zshrc
2
zshrc
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue