summaryrefslogtreecommitdiff
path: root/Functions/TCP
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/TCP')
-rw-r--r--Functions/TCP/tcp_alias2
-rw-r--r--Functions/TCP/tcp_close2
-rw-r--r--Functions/TCP/tcp_read2
3 files changed, 3 insertions, 3 deletions
diff --git a/Functions/TCP/tcp_alias b/Functions/TCP/tcp_alias
index 9d6a28da0..59fe67814 100644
--- a/Functions/TCP/tcp_alias
+++ b/Functions/TCP/tcp_alias
@@ -85,7 +85,7 @@ for arg in $*; do
index=${array[(i)$alias]}
array=(${array[1,index-1]} ${array[index+1,-1]})
if [[ -z "$array" ]]; then
- unset "tcp_aliase[$fd]"
+ unset "tcp_aliases[$fd]"
else
tcp_aliases[$fd]="$array"
fi
diff --git a/Functions/TCP/tcp_close b/Functions/TCP/tcp_close
index 61508f4c6..9c876786c 100644
--- a/Functions/TCP/tcp_close
+++ b/Functions/TCP/tcp_close
@@ -4,7 +4,7 @@
# -n means don't close a fake session's fd.
# -q means quiet.
#
-# Accepts the -s and -l arguments for consistenty with other functions,
+# Accepts the -s and -l arguments for consistency with other functions,
# but there is no particular gain in using them
emulate -L zsh
setopt extendedglob cbases
diff --git a/Functions/TCP/tcp_read b/Functions/TCP/tcp_read
index 97da8bf21..d9aa47e0e 100644
--- a/Functions/TCP/tcp_read
+++ b/Functions/TCP/tcp_read
@@ -87,7 +87,7 @@ while getopts "abdl:qs:t:T:u:" opt; do
done
;;
- # Don't print an error mesage if there is no TCP connection,
+ # Don't print an error message if there is no TCP connection,
# just return 1.
(q) quiet=1
;;