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
This commit is contained in:
6 files changed
+50
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user