aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/functions.zsh6
1 files changed, 6 insertions, 0 deletions
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"
;;