about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-05-09 12:13:38 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-05-09 12:13:38 +0000
commitdff7eff11b037d508e3c4b683c35954a29b416b0 (patch)
tree0d063dee642c6ad64bcf8c9cd6a9275a9f327b65 /Completion
parent2512681578d1606860bb1d1eab76755aa589f24c (diff)
downloadzsh-dff7eff11b037d508e3c4b683c35954a29b416b0.tar.gz
zsh-dff7eff11b037d508e3c4b683c35954a29b416b0.tar.xz
zsh-dff7eff11b037d508e3c4b683c35954a29b416b0.zip
11280: Completion/User/_make: suppress an error with closed stdin
on OpenBSD.

11278: Completion/User/_ssh: disable forwarding to use ssh.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/User/_make2
-rw-r--r--Completion/User/_ssh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_make b/Completion/User/_make
index 09e4e4f89..bfdf7b91e 100644
--- a/Completion/User/_make
+++ b/Completion/User/_make
@@ -39,7 +39,7 @@ else
             $(awk '/^[a-zA-Z0-9][^\/\t=]+:/ {print $1}
  	      /^\.include  *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include  *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ {
  	        print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
- 	     FS=: $file)
+ 	     FS=: $file </dev/null)
            )
     fi
     _wanted targets expl 'make target' compadd "$tmp[@]" && return 0
diff --git a/Completion/User/_ssh b/Completion/User/_ssh
index 986dec0c0..eeb0e08dc 100644
--- a/Completion/User/_ssh
+++ b/Completion/User/_ssh
@@ -3,7 +3,7 @@
 _remote_files () {
   # This is extremely simple-minded; could parse "ls -F" output to do
   # colorings and LIST_TYPES and so on, but I'm just not that ambitious.
-  compadd $(ssh ${words[CURRENT]%:*} echo ${words[CURRENT]#*:}\*)
+  compadd $(ssh -a -x ${words[CURRENT]%:*} echo ${words[CURRENT]#*:}\*)
 }
 
 _ssh () {