Files
ntfy/docs
Benjamin Kenawell 046c0e8c79 Add comment for zsh users in the terminal example
Bash and Zsh terminals' history works slightly different. In bash, the
current command is in the history already. In zsh, the
history command does not have the currently running command in it.  But
it does set the HISTCMD variable to the entry number for the current
command. So we can load the current command with `history "$HISTCMD"` in
zsh and apply the same sed filter to get the same result as the bash
`history | tail -n1` command.

I think it makes more sense to leave this as a comment in the current
example than to create a new example, since it otherwise works the exact
same.  I've added this to my workflow locally!
2026-02-18 08:07:08 -05:00
..
2023-04-29 13:09:25 -04:00
2026-01-10 22:03:41 -05:00
2026-02-04 18:32:08 -08:00
2026-02-04 18:32:08 -08:00
2026-01-17 17:51:33 -05:00
2026-01-02 08:10:34 -05:00
2026-01-02 08:05:39 -05:00
2024-03-07 10:07:42 -05:00
2023-10-29 12:32:08 -04:00
2026-01-14 21:48:21 -05:00
2026-02-04 18:32:08 -08:00
2026-02-08 22:18:45 -05:00
2026-02-15 19:41:22 +01:00
2026-01-02 07:59:02 -05:00
2026-02-08 22:31:22 -05:00
2026-02-08 22:18:45 -05:00
2026-01-26 20:31:11 -05:00
2026-01-17 03:29:40 -05:00