From 4a28f40c6b3f51aa9b3f692a9bae23d6c304a10a Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 1 Oct 2019 22:52:45 +0200 Subject: .zsh.after/functions.zsh: Adding .tar.lz and .lz to ex() and lstar() (respectively). --- .zsh.after/functions.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index 16dc6de..3778133 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -134,6 +134,9 @@ ex() { *.tar.gz) tar xvzf $1 ;; + *.tar.lz) + tar xvzf $1 + ;; *.bz2) bunzip2 $1 ;; @@ -209,6 +212,9 @@ lstar() { *.gz) tar -tvf "$1" --force-local ;; + *.lz) + tar -tvf "$1" --force-local + ;; *.rar) unrar lb "$1" ;; -- cgit v1.2.3-70-g09d2