From 5e7e797ca90cd1c1b7ab54d39118f0b7469f348f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 1 Aug 2008 11:48:38 +0000 Subject: TCP functions: fix some variable handling problems, also standardise indentation add-zsh-hook: fix check for existence of hook function in existing hook --- Functions/TCP/tcp_sess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/TCP/tcp_sess') diff --git a/Functions/TCP/tcp_sess b/Functions/TCP/tcp_sess index a07c33a03..cc6d42f80 100644 --- a/Functions/TCP/tcp_sess +++ b/Functions/TCP/tcp_sess @@ -17,7 +17,7 @@ if [[ -n $1 ]]; then eval $__cmd \$\* return else - TCP_SESS=$1 + typeset -g TCP_SESS=$1 return 0; fi fi -- cgit 1.4.1