summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2021-08-14 22:05:48 +0200
committerMarc Cornellà <hello@mcornella.com>2021-08-14 22:33:46 +0200
commit10a00085d027a969c7ef27e52085ca1fa7f5668c (patch)
treef6a9a26c7d027813725bb099f4d2524071c1e9fa /plugins
parenta2f1ef69b570b43bbdd0fa29bddb860293b7278b (diff)
downloadzsh-10a00085d027a969c7ef27e52085ca1fa7f5668c.tar.gz
zsh-10a00085d027a969c7ef27e52085ca1fa7f5668c.tar.bz2
zsh-10a00085d027a969c7ef27e52085ca1fa7f5668c.zip
fix(extract): don't push entries to dirstack when extracting rpm and deb files
Diffstat (limited to 'plugins')
-rw-r--r--plugins/extract/extract.plugin.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/extract/extract.plugin.zsh b/plugins/extract/extract.plugin.zsh
index 12a1ec948..a257f6bc3 100644
--- a/plugins/extract/extract.plugin.zsh
+++ b/plugins/extract/extract.plugin.zsh
@@ -1,6 +1,8 @@
alias x=extract
extract() {
+ setopt localoptions noautopushd
+
local remove_archive
local success
local extract_dir