aboutsummaryrefslogtreecommitdiff
path: root/conf.d/05z.fish
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/05z.fish')
-rw-r--r--conf.d/05z.fish11
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.