<div style="font-family: Arial, sans-serif; font-size: 14px;">Would you be willing to share the relevant parts of your .bashrc/</div><div style="font-family: Arial, sans-serif; font-size: 14px;">a</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div style="font-family: Arial, sans-serif; font-size: 14px;" class="protonmail_signature_block">
<div class="protonmail_signature_block-user">
<div style="font-family: arial; font-size: 14px; color: rgb(34, 34, 34);">Alex Kleider (set from my current gizmo)<br></div>
</div>
<div class="protonmail_signature_block-proton protonmail_signature_block-empty">
</div>
</div>
<div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div class="protonmail_quote">
On Wednesday, March 4th, 2026 at 9:29 AM, CrankyOldBugger <crankyoldbugger@gmail.com> wrote:<br>
<blockquote class="protonmail_quote" type="cite">
<div dir="ltr"><div>I added to my .bashrc, where I have other history options set, changed the date format to something more Canadian, and it looks like this now:</div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">8928 26/03/04 12:24:48 history</span></div><div><span style="font-family:monospace"><br></span></div><div><font face="arial,sans-serif">So that's an improvement over not having the date..</font></div><div><font face="arial,sans-serif"><br></font></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, 4 Mar 2026 at 16:52, Jason Eckert <<a href="mailto:jason.eckert@gmail.com" rel="noreferrer nofollow noopener">jason.eckert@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">That option doesn't work in bash's history built-in function. You'd have to use zsh instead.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 4 Mar 2026 at 11:37, Alex Kleider via kwlug-disc <<a href="mailto:kwlug-disc@kwlug.org" target="_blank" rel="noreferrer nofollow noopener">kwlug-disc@kwlug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-family:Arial,sans-serif;font-size:14px">Doesn't seem to work on my Debian XFCE system (a release or two ago.)</div><div style="font-family:Arial,sans-serif;font-size:14px"><span> $ history -i</span><div><span>bash: history: -i: invalid option</span></div><div><span>history: usage: history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...]</span></div><div><br></div>Alex Kleider (set from my current gizmo)<br></div><div style="font-family:Arial,sans-serif;font-size:14px"><div>
</div>
<div>
</div>
</div>
<div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div>
On Wednesday, March 4th, 2026 at 6:02 AM, Jason Eckert <<a href="mailto:jason.eckert@gmail.com" target="_blank" rel="noreferrer nofollow noopener">jason.eckert@gmail.com</a>> wrote:<br>
<blockquote type="cite">
<div dir="ltr">Like Raymond, the 'history -i' command has been my go-to for ages.<div>I switched to zsh long ago for aesthetic consistency... it matches zfs, zswap, etc\u2026 I\u2019m nothing if not alphabetically aligned.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 4 Mar 2026 at 08:52, Raymond Chen <<a href="mailto:raymondchen625@gmail.com" rel="noreferrer nofollow noopener" target="_blank">raymondchen625@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Very nice! BTW, in zsh it's `history -i`.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 4, 2026 at 8:37\u202fAM CrankyOldBugger <<a href="mailto:crankyoldbugger@gmail.com" rel="noreferrer nofollow noopener" target="_blank">crankyoldbugger@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Nice one!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 4 Mar 2026 at 03:11, Chris Frey <<a href="mailto:cdfrey@foursquare.net" rel="noreferrer nofollow noopener" target="_blank">cdfrey@foursquare.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It turns out that by setting the environment variable HISTTIMEFORMAT<br>
on startup to something like "%Y-%m-%dT%T " bash will both display<br>
the timestamp of all commands when you use the 'history' command,<br>
but also store the timestamps in the .bash_history file.<br>
<br>
Now I have an automatic trail of timed breadcrumbs in case I need it,<br>
for all my shell work.<br>
<br>
Just passing along the tip.<br>
<br>
- Chris<br>
<br>
<br>
_______________________________________________<br>
kwlug-disc mailing list<br>
To unsubscribe, send an email to <a href="mailto:kwlug-disc-leave@kwlug.org" rel="noreferrer nofollow noopener" target="_blank">kwlug-disc-leave@kwlug.org</a><br>
with the subject "unsubscribe", or email<br>
<a href="mailto:kwlug-disc-owner@kwlug.org" rel="noreferrer nofollow noopener" target="_blank">kwlug-disc-owner@kwlug.org</a> to contact a human being.<br>
</blockquote></div>
_______________________________________________<br>
kwlug-disc mailing list<br>
To unsubscribe, send an email to <a href="mailto:kwlug-disc-leave@kwlug.org" rel="noreferrer nofollow noopener" target="_blank">kwlug-disc-leave@kwlug.org</a><br>
with the subject "unsubscribe", or email<br>
<a href="mailto:kwlug-disc-owner@kwlug.org" rel="noreferrer nofollow noopener" target="_blank">kwlug-disc-owner@kwlug.org</a> to contact a human being.<br>
</blockquote></div>
_______________________________________________<br>
kwlug-disc mailing list<br>
To unsubscribe, send an email to <a href="mailto:kwlug-disc-leave@kwlug.org" rel="noreferrer nofollow noopener" target="_blank">kwlug-disc-leave@kwlug.org</a><br>
with the subject "unsubscribe", or email<br>
<a href="mailto:kwlug-disc-owner@kwlug.org" rel="noreferrer nofollow noopener" target="_blank">kwlug-disc-owner@kwlug.org</a> to contact a human being.<br>
</blockquote></div>
</blockquote><br>
</div>_______________________________________________<br>
kwlug-disc mailing list<br>
To unsubscribe, send an email to <a href="mailto:kwlug-disc-leave@kwlug.org" target="_blank" rel="noreferrer nofollow noopener">kwlug-disc-leave@kwlug.org</a><br>
with the subject "unsubscribe", or email<br>
<a href="mailto:kwlug-disc-owner@kwlug.org" target="_blank" rel="noreferrer nofollow noopener">kwlug-disc-owner@kwlug.org</a> to contact a human being.<br>
</blockquote></div>
_______________________________________________<br>
kwlug-disc mailing list<br>
To unsubscribe, send an email to <a href="mailto:kwlug-disc-leave@kwlug.org" target="_blank" rel="noreferrer nofollow noopener">kwlug-disc-leave@kwlug.org</a><br>
with the subject "unsubscribe", or email<br>
<a href="mailto:kwlug-disc-owner@kwlug.org" target="_blank" rel="noreferrer nofollow noopener">kwlug-disc-owner@kwlug.org</a> to contact a human being.<br>
</blockquote></div>
</blockquote><br>
</div>