T34: review round 3: PowerShell keeps a program's code unless the line surely ends in PowerShell, a cmdlet, a name not found or no command, so a call through a variable keeps it; bash without promptvars, zsh without prompt_percent and PowerShell without PSReadLine say at start what they cannot mark
CI / platforms (ubuntu-24.04) (push) Successful in 1m21s
CI / platforms (windows-latest) (push) Successful in 1m40s
CI / macos (push) Successful in 11m13s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-16 23:28:36 -04:00
1 parent d4bc6e69fa
commit 2c25116703
6 files changed
+50 -9

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ if [[ -o interactive ]]; then
precmd_functions=(${precmd_functions:#_ely_mark} _ely_mark)
if (( _ely_first )); then
_ely_first=0
[[ -o prompt_percent ]] || builtin print -ru2 'ELYTerminal: zsh marks no prompt while prompt_percent is off (setopt prompt_percent)'
builtin zmodload zsh/sched && builtin sched +0 _ely_mark $ret
fi
builtin return ret