[kwlug-disc] Reminder: bash's find has option -exec

Ron ron at bclug.ca
Wed Nov 12 14:09:35 EST 2025


Ron wrote on 2025-11-12 02:26:

> I've tried this in other folders, and it only happens in git repos 
> *with* committed files.
> 
> What's going on?!?

Sometimes just asking the question out loud (or in writing) can evoke 
the answer:

My prompt runs functions to determine if I'm in a git repo and if so, 
which branch, etc.


uid1 at fishbowl [/tmp/dir-dates]
  └─» (git:master)$ ls -ltra --time=mtime  --time-style=full-iso | tail -n 1
drwxrwxr-x  8 uid1 uid1 260 2025-11-12 02:22:23.297578835 -0800 .git/



So, `git` is being invoked each time I press enter - no need to look for 
some hidden processes.


Thanks everyone.


More information about the kwlug-disc mailing list