Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Print -s/-S - how to append to history file?



On Nov 30,  1:07am, Sebastian Gniazdowski wrote:
} 
} doing print -s/-S indeed places the argument in $history. However, even
} though inc_append_history is set, file $HISTFILE isn't updated. Is there a
} way to make it work?

Running "fc -A -I" should do it.  Automatic inc_append_history only happens
for "real" history events from prompt.



Messages sorted by: Reverse Date, Date, Thread, Author