bash: ignore leading space + duplicates in history

Commit 386f2b2ba5 pushed by teutat3s#280
Workflow check.yml

Check

Success

Set up job2s
Check out repository code2s
Check formatting36s
Run flake checks27m42s
Complete job1s