Skip to content

Instantly share code, notes, and snippets.

View snowman11784's full-sized avatar

Andrew Little snowman11784

  • Guidehouse, Inc.
  • Keene, NH
View GitHub Profile
@snowman11784
snowman11784 / remove_history_entries.sh
Created July 13, 2023 09:53
Remove history entries in bulk
#!/usr/bin/env bash
#################################
# Remove history entries in bulk
#################################
run() {
echo "$@"
if [[ ! $DRY_RUN == true ]]; then
"$@"
fi
}