bak icon indicating copy to clipboard operation
bak copied to clipboard

bak_print_cmd fails when cfg['bak_open_exec'] missing

Open ChanceNCounter opened this issue 3 years ago • 3 comments

Needs a try/except or a sanity check or something

ChanceNCounter avatar Oct 06 '21 00:10 ChanceNCounter

I can aslo look into this !

rexdivakar avatar Oct 06 '21 00:10 rexdivakar

It occurs to me that bak depends on an XDG-compliant, Unix-like system, which should always have diff. It's probably reasonable to just change the default config value to diff.

ChanceNCounter avatar Oct 06 '21 02:10 ChanceNCounter

Clearer: bak doesn't demand XDG compliance, but it falls back on the XDG spec when the XDG environment variables are absent.

Point is, not-Windowsness means diff should "always" exist.

ChanceNCounter avatar Oct 07 '21 17:10 ChanceNCounter