diff options
-rw-r--r-- | .zsh.after/functions.zsh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index 3778133..6dfefba 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -135,7 +135,7 @@ ex() { tar xvzf $1 ;; *.tar.lz) - tar xvzf $1 + tar xvf $1 ;; *.bz2) bunzip2 $1 @@ -173,6 +173,9 @@ ex() { *.zip) unzip $1 ;; + *.zst) + tar --zstd -xvf $1 + ;; *.Z) uncompress $1 ;; @@ -239,6 +242,9 @@ lstar() { *.7z) 7z l "$1" ;; + *.zst) + tar --zstd -tvf "$1" --force-local + ;; *) echo "Don't know how to look into $1" exit 1 |