diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-05 11:10:47 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-05 11:10:47 +0000 |
commit | 126d3131e180d17d058f80b86f74dde5bfafffd5 (patch) | |
tree | 0984f0a10d77c87d78893a79ed090f2cd25462b7 /Functions/Misc | |
parent | 93fb9aaec51f597a9a19b06764f005952e447e54 (diff) | |
download | zsh-126d3131e180d17d058f80b86f74dde5bfafffd5.tar.gz zsh-126d3131e180d17d058f80b86f74dde5bfafffd5.tar.xz zsh-126d3131e180d17d058f80b86f74dde5bfafffd5.zip |
use `eval' in nslookup for pager, in case someone has PAGER='less -foo' or some such (11186)
Diffstat (limited to 'Functions/Misc')
-rw-r--r-- | Functions/Misc/nslookup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/nslookup b/Functions/Misc/nslookup index e03e55cd5..79d76dbe5 100644 --- a/Functions/Misc/nslookup +++ b/Functions/Misc/nslookup @@ -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 |