mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
Adapt nslookup for 13123.
This commit is contained in:
parent
12ca8495d4
commit
733ee2eb2a
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2000-11-05 Bart Schaefer <schaefer@zsh.org>
|
2000-11-05 Bart Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* 13124: Functions/Misc/nslookup: Use "command nslookup" as it's
|
||||||
|
now possible to call the nslookup function recursively from zpty.
|
||||||
|
|
||||||
* unposted: Src/Modules/zpty.c: Cloned shell is non-interactive
|
* unposted: Src/Modules/zpty.c: Cloned shell is non-interactive
|
||||||
for purposes of calling zexit(), so it doesn't print job status,
|
for purposes of calling zexit(), so it doesn't print job status,
|
||||||
save history, etc.
|
save history, etc.
|
||||||
|
|
|
@ -24,7 +24,7 @@ zstyle -s ':nslookup' pager tmp &&
|
||||||
[[ -z "$pager" ]] && pager="${opager:-more}"
|
[[ -z "$pager" ]] && pager="${opager:-more}"
|
||||||
(( $#pmpt )) || pmpt=(-p '> ')
|
(( $#pmpt )) || pmpt=(-p '> ')
|
||||||
|
|
||||||
zpty nslookup nslookup "$@"
|
zpty nslookup command nslookup "${(q)@}"
|
||||||
|
|
||||||
zpty -r nslookup line '*
|
zpty -r nslookup line '*
|
||||||
> '
|
> '
|
||||||
|
|
Loading…
Reference in a new issue