Skip to content

Commit 786231b

Browse files
committed
Remove debug symbols
1 parent 9f94412 commit 786231b

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • contrib/completion/zsh

contrib/completion/zsh/_todo

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,10 @@ __todo_date(){
4040
date_time_dict[time_format]='%X'
4141
# parse configuration file to get date and time formats from there
4242
local conf_file="${XDG_CONFIG_DIR:-${HOME}/.config}/todoman/todoman.conf"
43-
rm -f ~/zdbg
4443
if [[ -f "$conf_file" ]]; then
4544
while read line; do
46-
echo reading line "$line" >> ~/zdbg
4745
for key in date_format dt_separator time_format; do
4846
if [[ "$line" =~ "^\s*$key\s*=\s*" ]]; then
49-
echo matched key "$key" >> ~/zdbg
5047
# Note the above check's regex is different then this one. That's
5148
# because '=~' type matching and pattern replacement use different
5249
# syntaxes. We need to strip the actual value from the whole line with
@@ -56,7 +53,6 @@ __todo_date(){
5653
line="${line// /}"
5754
# And now, we remove the date_format= prefix
5855
line="${line#$key=}"
59-
echo parsed value is "$line" >> ~/zdbg
6056
date_time_dict[$key]="$line"
6157
fi
6258
done

0 commit comments

Comments
 (0)