diff options
| author | Deposite Pirate | 2025-10-23 07:36:55 +0200 |
|---|---|---|
| committer | Deposite Pirate | 2025-10-23 07:36:55 +0200 |
| commit | 017ba59ab70abe9eb90177efe09f73b833a39c1a (patch) | |
| tree | 3766b3c46249e85486d1af35e53938b0a58b6dd9 /conf.d | |
| parent | 4258e7a78d96c869e64f780d1330d3d1c0cc431b (diff) | |
Improve compression utils
modified: conf.d/05z.fish
new file: functions/7za.fish
new file: functions/uz.fish
Diffstat (limited to 'conf.d')
| -rw-r--r-- | conf.d/05z.fish | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/conf.d/05z.fish b/conf.d/05z.fish index 13ae65a..e370331 100644 --- a/conf.d/05z.fish +++ b/conf.d/05z.fish @@ -1,17 +1,10 @@ if status is-interactive if command -sq bsdtar - alias uz 'bsdtar -xf' alias mz 'bsdtar -a -cf' - if not command -sq unrar - alias unrar 'bsdtar -xf' - end - - if not command -sq 7za - alias 7za 'bsdtar -xf' - end - + alias_if_not unzip bsdtar -xf + alias_if_not unrar bsdtar -xf end # If we have more than one CPU core, use threaded uncompression. |
