diff options
author | David Runge <dave@sleepmap.de> | 2019-10-01 22:52:45 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2019-10-01 22:52:45 +0200 |
commit | 4a28f40c6b3f51aa9b3f692a9bae23d6c304a10a (patch) | |
tree | feeb010f16209f633792207f4b898a3b34b29b22 | |
parent | 7cd9d80395dc1816abf6082c2e916da16a3894c2 (diff) | |
download | dotfiles-4a28f40c6b3f51aa9b3f692a9bae23d6c304a10a.tar.gz dotfiles-4a28f40c6b3f51aa9b3f692a9bae23d6c304a10a.tar.bz2 dotfiles-4a28f40c6b3f51aa9b3f692a9bae23d6c304a10a.tar.xz dotfiles-4a28f40c6b3f51aa9b3f692a9bae23d6c304a10a.zip |
.zsh.after/functions.zsh: Adding .tar.lz and .lz to ex() and lstar() (respectively).
-rw-r--r-- | .zsh.after/functions.zsh | 6 |
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" ;; |