Chmouel?

> 
> When you called zsh out of bash it printed text of mc() function;
> besides condition was not shell-compatible anyway.
> 
> -andrej
> 
> --- mc.sh.bor   Mon Oct  1 17:54:37 2001
> +++ mc.sh       Fri Nov  2 22:02:49 2001
> @@ -9,4 +9,6 @@
>           unset MC;
>   }
> 
> -[[ $SHELL = "/bin/bash" ]] && export -f mc
> +if test -n "$BASH_VERSION"; then
> +       export -f mc
> +fi


Reply via email to