for osx i had to use history -d <line#> <line#> where <line#> is the specific line targeted for deletion - enter it twice to make it work
history -d <line#> <line#>