about summary refs log tree commit diff
path: root/Doc/Zsh/mod_socket.yo
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2015-10-24 20:48:47 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-10-24 20:48:47 +0100
commit15490398d7553605c422d8ab0e59e69e25111df4 (patch)
tree3a98fd7979403ee3b5b7c39b437eff0f8dcc0a1d /Doc/Zsh/mod_socket.yo
parent1f6dcf9bcdade41886e36826196e79502a9afa26 (diff)
downloadzsh-15490398d7553605c422d8ab0e59e69e25111df4.tar.gz
zsh-15490398d7553605c422d8ab0e59e69e25111df4.tar.xz
zsh-15490398d7553605c422d8ab0e59e69e25111df4.zip
36944: extend fd management to zsocket
Diffstat (limited to 'Doc/Zsh/mod_socket.yo')
-rw-r--r--Doc/Zsh/mod_socket.yo5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_socket.yo b/Doc/Zsh/mod_socket.yo
index 332c551fe..867f6081f 100644
--- a/Doc/Zsh/mod_socket.yo
+++ b/Doc/Zsh/mod_socket.yo
@@ -28,6 +28,11 @@ will be taken as the target file descriptor for the
 connection.
 
 In order to elicit more verbose output, use tt(-v).
+
+File descriptors can be closed with normal shell syntax when no longer
+needed, for example:
+
+example(exec {REPLY}>&-)
 )
 enditem()