X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/b55d69396b587288c7e654035190d9e62fa70b71..e8ae4a469b8b5db19a27a2bf71bb04142a68a6f0:/zsh/functions/ex 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"