10a00085d027a969c7ef27e52085ca1fa7f5668c
- Author
- Marc Cornellà <hello@mcornella.com>
- Committer
- Marc Cornellà <hello@mcornella.com>
- Date
Message
fix(extract): don't push entries to dirstack when extracting rpm and deb files
Diff
1diff --git a/plugins/extract/extract.plugin.zsh b/plugins/extract/extract.plugin.zsh
2index 12a1ec9489d6af1dfed2a051edd1e87c8a06e973..a257f6bc38a0cf2edff7d49f8d01949c695a07cf 100644
3--- a/plugins/extract/extract.plugin.zsh
4+++ b/plugins/extract/extract.plugin.zsh
5@@ -1,6 +1,8 @@
6 alias x=extract
7
8 extract() {
9+ setopt localoptions noautopushd
10+
11 local remove_archive
12 local success
13 local extract_dir