mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-21 04:17:45 +02:00
Remove debug print
This commit is contained in:
parent
0abfefa80a
commit
86adcb64f6
@ -206,11 +206,7 @@ func isBashWeirdness(cmd string) bool {
|
||||
// Bash has this weird behavior where the it has entries like `#1664342754` in the
|
||||
// history file. We want to skip these.
|
||||
firstCommandBugRegex := regexp.MustCompile(`^#\d+\s+$`)
|
||||
result := firstCommandBugRegex.MatchString(cmd)
|
||||
if result {
|
||||
fmt.Println("BASH: " + cmd)
|
||||
}
|
||||
return result
|
||||
return firstCommandBugRegex.MatchString(cmd)
|
||||
}
|
||||
|
||||
func buildRegexFromTimeFormat(timeFormat string) string {
|
||||
|
Loading…
x
Reference in New Issue
Block a user