dev-null-undefined

Results 13 comments of dev-null-undefined
trafficstars

Probably introduced by this line here https://github.com/wulfgarpro/history-sync/blame/master/history-sync.plugin.zsh#L185

Possibly fix could be `SED -E -i ':a;N;$!ba;s/(\\+\n)+\n/\n/g' "$ZSH_HISTORY_FILE"` Before the line I mentined.

The problem is with blindly removing blank lines here https://github.com/wulfgarpro/history-sync/blob/7c2e1ada5f13b193da563d52be36534ae5c75f2b/history-sync.plugin.zsh#L206 If you used in you history command like ```bash echo hi \ ``` it would get into your .zsh_history file...