mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-12-21 22:41:53 +01:00
Add tar.zstd
This commit is contained in:
parent
5af4722f07
commit
963876e0f7
@ -84,6 +84,7 @@ function extract () {
|
|||||||
case $1 in
|
case $1 in
|
||||||
*.tar.bz2) tar xjf "$1" ;;
|
*.tar.bz2) tar xjf "$1" ;;
|
||||||
*.tar.gz) tar xzf "$1" ;;
|
*.tar.gz) tar xzf "$1" ;;
|
||||||
|
*.tar.zstd) tar --zstd -xf "$1" ;;
|
||||||
*.bz2) bunzip2 "$1" ;;
|
*.bz2) bunzip2 "$1" ;;
|
||||||
*.rar) unrar x "$1" ;;
|
*.rar) unrar x "$1" ;;
|
||||||
*.gz) gunzip "$1" ;;
|
*.gz) gunzip "$1" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user