Commit Graph

7 Commits

Author SHA1 Message Date
Eric Nielsen 6af7892f91 [archive] Check unrar with commands array
“unrar-free returns the error code 1 when run without arguments, thus
failing the presence check.” as reported at sorin-ionescu/prezto#1383

Reformat code and use one-liners instead of if/then/fi. And we don’t
need to separate local definitions from assignments anymore starting
from zsh 5.2.
2018-02-07 18:27:59 -05:00
Eric Nielsen b190231682 [archive] Remove _gzip_bin and _bzip2_bin refs
as these variables are not being set anymore.

Fixes #220
2017-10-23 09:54:08 -05:00
Matt Hamilton 8fbd143b01 set defaults for bz2 and gz compression utils
Fix #220
2017-10-08 16:38:38 -04:00
Matt Hamilton 89b2986db9 cleanup function error messages 2016-01-07 15:36:31 -05:00
Matt Hamilton fd826dbd8a fixup pigz and pbzip2 in (un)archive funcs 2015-12-19 17:08:43 -05:00
Matt Hamilton a1a56ac63f use consistent variable style 2015-12-19 09:48:29 -05:00
Matt Hamilton ceb0f3ad2a add archive module 2015-12-16 17:00:25 -05:00