From f3bdd4b75115cf940970ddf15fb4e56bfd447398 Mon Sep 17 00:00:00 2001 From: VuiMuich Date: Wed, 11 Mar 2020 08:40:01 +0100 Subject: [PATCH] fixed Problem vs-code reported in "Problems" vs-code threw an immediate problem on first debug, that line 101 could not be parsed. Moving the ">&2" to the end of the line (as all other echo messages have it) solved this. (Sorry if this description is a bit wacky, still new to shellscript and comitting to oss) --- zshdb_dir/zshdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshdb_dir/zshdb b/zshdb_dir/zshdb index bc54556..fde16b4 100755 --- a/zshdb_dir/zshdb +++ b/zshdb_dir/zshdb @@ -98,7 +98,7 @@ if (( ${#_Dbg_script_args[@]} > 0 )) ; then _Dbg_script_file="${_Dbg_script_args[0]}" shift _Dbg_script_args elif [[ -z $_Dbg_EXECUTION_STRING ]] ; then - echo >&2 "${_Dbg_pname}: need to give a script to debug or use the -c option." + echo "${_Dbg_pname}: need to give a script to debug or use the -c option." >&2 exit 1 fi