1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-16 07:21:13 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Eugen Blattner
2c66331316 fix: use deflating flag for pixz in unarchive function 2022-04-05 12:29:22 -07:00
Eugen Blattner
3da67271b9 fix: use inflating binaries instead of deflating in unarchive function 2022-04-01 13:22:48 -07:00
Indrajit Raychaudhuri
93556a7d5f archive: Remove unnecessary interpreter directive
These files are expected to be `source`d in and not executed standalone.
2021-05-02 03:01:32 -05:00
Poscat
4de0377106 Add support for zstd compressed tarballs to module 'archive' 2021-04-29 21:20:25 -07:00
Maxim Baz
5d7c990eec archive: enhance parallel operations 2019-02-18 21:40:25 -08:00
Indrajit Raychaudhuri
54dff31b63 archive: Enhance 'archive' helper to support multi file archive
We now allow multiple paths (files/directories) to be archived in
one shot. Validation of the target path(s) is now delegated to the
actual archive helper.
2018-12-13 13:51:09 -06:00
Nicola Corna
9520f1be6f archive: fix unrar-free and add support for unar (#1383)
* archive: fix unrar check when using unrar-free

unrar-free returns the error code 1 when run without arguments, thus
failing the presence check. Replacing the current presence check with
(( $+commands[unrar] )) fixes the problem.

* archive: add unar support for lsarchive and unarchive

No `archive` support with unar.
2017-09-18 16:27:31 -07:00
Kaleb Elwert
7d5beeab51 Add comments into each of the function files to make them easier to find 2017-07-06 16:13:36 -07:00
Matt Hamilton
fb37539f43 archive: add archive function 2017-04-17 22:44:47 -07:00
Khai Do
7242b4ed49 archive: add support for *.jar files (#1302) 2017-04-17 22:04:28 -07:00
Zach Riggle
7227c4f0be Fix unarchive for .deb which uses xz, and absolute paths 2015-11-12 12:01:37 -05:00
Ivan Alejandro
86ba5b69d3 Ignore case in filenames
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-10 18:55:26 -04:00
Sorin Ionescu
a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04:00
Sorin Ionescu
10c33ec9a4 Convert tabs to spaces 2014-10-09 23:38:13 -04:00
lucy
3e8349ddde Use the x command for unrar and rar to preserve paths
unrar and rar will discard everything up to the file name when extracting
with `e`. This breaks extraction of archives that have files with duplicate
file names and ones where the paths are important. The `x` command
extracts with the full path instead.
2014-10-05 21:14:01 -04:00
Sorin Ionescu
16aa48baeb Rename archive module functions 2013-05-25 14:42:43 -04:00
nasenatmer
88408e8bc2 Add rar command to archive module
This addition tries to use the rar command if unrar is not found.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-05-18 13:18:29 -04:00
Sorin Ionescu
e5ec94af42 Check for non-empty files, not just existance 2012-05-05 18:08:25 -04:00
Sorin Ionescu
9d8187ba6b Merge completions into functions
Completions are nothing more than auto-loadable functions prefixed with
an underscore placed somewhere in $FPATH.
2012-04-09 17:45:32 -04:00
Sorin Ionescu
a7340886b3 [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00