From 5c4bb4aec5c8af2caea3598efc40b5194cb1c83e Mon Sep 17 00:00:00 2001 From: Chetan Agrawal Date: Tue, 29 Sep 2026 14:50:42 +0530 Subject: [PATCH 1/2] fix(extract): support `7zz` and `7z` for 7z archives (#14144) --- plugins/extract/extract.plugin.zsh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/plugins/extract/extract.plugin.zsh b/plugins/extract/extract.plugin.zsh index 46e97f96a1414..8f0e8bed5af1c 100755 --- a/plugins/extract/extract.plugin.zsh +++ b/plugins/extract/extract.plugin.zsh @@ -119,7 +119,17 @@ EOF fi ;; (*.rpm) rpm2cpio "$full_path" | cpio --quiet -id ;; - (*.7z | *.7z.[0-9]* | *.pk7) 7za x "$full_path" ;; + (*.7z | *.7z.[0-9]* | *.pk7) + if (( $+commands[7zz] )); then + 7zz x "$full_path" + elif (( $+commands[7z] )); then + 7z x "$full_path" + elif (( $+commands[7za] )); then + 7za x "$full_path" + else + echo "extract: cannot extract 7z files: install 7zz, 7z or 7za" >&2 + success=1 + fi ;; (*.deb) command mkdir -p "control" "data" ar vx "$full_path" > /dev/null From 92bf53f1aee03a09991e112a0f291fdc9d7f5908 Mon Sep 17 00:00:00 2001 From: Haakon Meihack Date: Tue, 29 Sep 2026 11:23:20 +0200 Subject: [PATCH 2/2] fix(emacs): do not emit ANSI escape codes in ghostel (#14145) --- plugins/emacs/emacs.plugin.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/emacs/emacs.plugin.zsh b/plugins/emacs/emacs.plugin.zsh index 3ed6cee19db25..8322d5e148552 100644 --- a/plugins/emacs/emacs.plugin.zsh +++ b/plugins/emacs/emacs.plugin.zsh @@ -35,7 +35,8 @@ alias eeval="$EMACS_PLUGIN_LAUNCHER --eval" alias eframe='emacsclient --alternate-editor="" --create-frame' # Emacs ANSI Term tracking -if [[ -n "$INSIDE_EMACS" ]] && [[ "$INSIDE_EMACS" != "vterm" ]]; then +local excluded_terms=(vterm ghostel) +if [[ -n "$INSIDE_EMACS" ]] && (( ! ${excluded_terms[(Ie)${INSIDE_EMACS%%,*}]} )); then chpwd_emacs() { print -P "\033AnSiTc %d"; } print -P "\033AnSiTc %d" # Track current working directory print -P "\033AnSiTu %n" # Track username