mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 16:40:29 +01:00
use `eval' in nslookup for pager, in case someone has PAGER='less -foo' or some such (11186)
This commit is contained in:
parent
93fb9aaec5
commit
126d3131e1
2 changed files with 6 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ while line=''; vared -he "$pmpt[@]" line; do
|
|||
zpty -r nslookup line '*
|
||||
> '
|
||||
if [[ -n "$pager" && ${#${(f)line}} -gt LINES ]]; then
|
||||
print -nr "$line" | "$pager"
|
||||
print -nr "$line" | eval "$pager"
|
||||
else
|
||||
print -nr "$line"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue