mirror of
https://github.com/ddworken/hishtory.git
synced 2025-03-12 22:38:23 +01:00
parent
2f3201ec81
commit
5528829d64
@ -160,7 +160,7 @@ func stripZshWeirdness(cmd string) string {
|
|||||||
return cmd
|
return cmd
|
||||||
}
|
}
|
||||||
|
|
||||||
var BASH_FIRST_COMMAND_BUG_REGEX = regexp.MustCompile(`^#\d+\s+$`)
|
var BASH_FIRST_COMMAND_BUG_REGEX = regexp.MustCompile(`^#\d+\s*$`)
|
||||||
|
|
||||||
func isBashWeirdness(cmd string) bool {
|
func isBashWeirdness(cmd string) bool {
|
||||||
// Bash has this weird behavior where the it has entries like `#1664342754` in the
|
// Bash has this weird behavior where the it has entries like `#1664342754` in the
|
||||||
|
Loading…
Reference in New Issue
Block a user