From 9c6b9ea29858077338152e5d96cdbd7b80b8f4fa Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 20 May 2021 14:41:42 +0100 Subject: [PATCH] zsh: unrar full paths rather than all files to same dir --- zsh/functions/ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/functions/ex b/zsh/functions/ex index 24a8e8f..6589350 100644 --- a/zsh/functions/ex +++ b/zsh/functions/ex @@ -52,7 +52,7 @@ function ex() { (*.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" -- 2.48.1