|
@@ -1,10 +1,10 @@
|
|
|
# extract plugin
|
|
|
|
|
|
-This plugin defines a function called `extract` that extracts the archive file
|
|
|
-you pass it, and it supports a wide variety of archive filetypes.
|
|
|
+This plugin defines a function called `extract` that extracts the archive file you pass it, and it supports a
|
|
|
+wide variety of archive filetypes.
|
|
|
|
|
|
-This way you don't have to know what specific command extracts a file, you just
|
|
|
-do `extract <filename>` and the function takes care of the rest.
|
|
|
+This way you don't have to know what specific command extracts a file, you just do `extract <filename>` and
|
|
|
+the function takes care of the rest.
|
|
|
|
|
|
To use it, add `extract` to the plugins array in your zshrc file:
|
|
|
|
|
@@ -15,7 +15,7 @@ plugins=(... extract)
|
|
|
## Supported file extensions
|
|
|
|
|
|
| Extension | Description |
|
|
|
-|:------------------|:-------------------------------------|
|
|
|
+| :---------------- | :----------------------------------- |
|
|
|
| `7z` | 7zip file |
|
|
|
| `Z` | Z archive (LZW) |
|
|
|
| `apk` | Android app file |
|
|
@@ -32,6 +32,7 @@ plugins=(... extract)
|
|
|
| `lrz` | LRZ archive |
|
|
|
| `lz4` | LZ4 archive |
|
|
|
| `lzma` | LZMA archive |
|
|
|
+| `obscpio` | cpio archive used on OBS |
|
|
|
| `rar` | WinRAR archive |
|
|
|
| `rpm` | RPM package |
|
|
|
| `sublime-package` | Sublime Text package |
|
|
@@ -57,5 +58,5 @@ plugins=(... extract)
|
|
|
| `zst` | Zstandard file (zstd) |
|
|
|
| `zpaq` | Zpaq file |
|
|
|
|
|
|
-See [list of archive formats](https://en.wikipedia.org/wiki/List_of_archive_formats) for
|
|
|
-more information regarding archive formats.
|
|
|
+See [list of archive formats](https://en.wikipedia.org/wiki/List_of_archive_formats) for more information
|
|
|
+regarding archive formats.
|