mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 08:18:58 +01:00
Merge pull request #1611 from ripdog/patch-1
Update plugins/extract/extract.plugin.zsh
This commit is contained in:
commit
ed69d1e736
@ -53,7 +53,7 @@ function extract() {
|
|||||||
(*.lzma) unlzma "$1" ;;
|
(*.lzma) unlzma "$1" ;;
|
||||||
(*.Z) uncompress "$1" ;;
|
(*.Z) uncompress "$1" ;;
|
||||||
(*.zip) unzip "$1" -d $extract_dir ;;
|
(*.zip) unzip "$1" -d $extract_dir ;;
|
||||||
(*.rar) unrar e -ad "$1" ;;
|
(*.rar) unrar x -ad "$1" ;;
|
||||||
(*.7z) 7za x "$1" ;;
|
(*.7z) 7za x "$1" ;;
|
||||||
(*.deb)
|
(*.deb)
|
||||||
mkdir -p "$extract_dir/control"
|
mkdir -p "$extract_dir/control"
|
||||||
|
Loading…
Reference in New Issue
Block a user