diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-08-01 11:48:38 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-08-01 11:48:38 +0000 |
commit | 5e7e797ca90cd1c1b7ab54d39118f0b7469f348f (patch) | |
tree | d2b23a1d1d295b6e6007df82a3ce12d0e75cf4ad /Functions/TCP/tcp_sess | |
parent | dc72699b6c400e530b818250c943587b3ecf663e (diff) | |
download | zsh-5e7e797ca90cd1c1b7ab54d39118f0b7469f348f.tar.gz zsh-5e7e797ca90cd1c1b7ab54d39118f0b7469f348f.tar.xz zsh-5e7e797ca90cd1c1b7ab54d39118f0b7469f348f.zip |
TCP functions: fix some variable handling problems,
also standardise indentation add-zsh-hook: fix check for existence of hook function in existing hook
Diffstat (limited to 'Functions/TCP/tcp_sess')
-rw-r--r-- | Functions/TCP/tcp_sess | 2 |
1 files changed, 1 insertions, 1 deletions
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 |