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 | |
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)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Functions/Misc/nslookup | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 73c92ce9b..0e80d7461 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-05 Sven Wischnowsky <wischnow@informatik.hu-berlin.de> + + * 11186: Functions/Misc/nslookup: use `eval' in nslookup for + pager, in case someone has PAGER='less -foo' or some such + 2000-05-05 Oliver Kiddle <opk@zsh.org> * 11184: Completion/User/.distfiles, Completion/User/_bzip2, 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 |