mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 00:40:07 +00:00
Update plugins/extract/extract.plugin.zsh
Cause unrar to preserve directory structure. (Why is only unrar different?!)
This commit is contained in:
parent
fce68bbba0
commit
2264c51355
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ function extract() {
|
|||
(*.lzma) unlzma "$1" ;;
|
||||
(*.Z) uncompress "$1" ;;
|
||||
(*.zip) unzip "$1" -d $extract_dir ;;
|
||||
(*.rar) unrar e -ad "$1" ;;
|
||||
(*.rar) unrar x -ad "$1" ;;
|
||||
(*.7z) 7za x "$1" ;;
|
||||
(*.deb)
|
||||
mkdir -p "$extract_dir/control"
|
||||
|
|
Loading…
Reference in a new issue