From f0d3261336a7d6b0d549dfa1bd5a69dfb7289542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Sun, 7 Jun 2020 21:08:06 +0200 Subject: [PATCH] Added `.tar.xz` to `ex` alias --- aliasrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aliasrc b/aliasrc index 0ecfc5a..acde730 100644 --- a/aliasrc +++ b/aliasrc @@ -7,8 +7,9 @@ ex () case $1 in *.tar.bz2) tar xjf $1 ;; *.tar.gz) tar xzf $1 ;; + *.tar.xz) tar -xf ;; *.bz2) bunzip2 $1 ;; - *.rar) unrar x $1 ;; + *.rar) unrar x $1 ;; *.gz) gunzip $1 ;; *.tar) tar xf $1 ;; *.tbz2) tar xjf $1 ;;