mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
Support for more archive formats.
This commit is contained in:
1 parent
ff0b25b745
commit
f0136f2aec
1 file changed
+2
@@ -43,6 +43,8 @@ function extract() {
|
||||
case $1 in
|
||||
*.tar.bz2) tar xvjf $1;;
|
||||
*.tar.gz) tar xvzf $1;;
|
||||
*.tar.xz) tar xvJf $1;;
|
||||
*.tar.lzma) tar --lzma -xvf $1;;
|
||||
*.bz2) bunzip $1;;
|
||||
*.rar) unrar $1;;
|
||||
*.gz) gunzip $1;;
|
||||
|
||||
Reference in new issue
Block a user