Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kristopolous committed May 25, 2020
1 parent f78ddba commit c19fa86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ticktick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ __tick_fun_parse_expression() {
backslash=0

while read -r token; do
token=${token/#S/}
token=${token/%E/}
token=${token#S}
token=${token%E}

if [[ $done ]]; then
suffix+="$token"
Expand Down Expand Up @@ -454,7 +454,7 @@ if [[ $__tick_var_tokenized ]]; then
}

tickReset() {
for var in `set | sed -nr 's/^(__tick_data_[^=]+).*/\1/p'`
for var in `set | sed -nr 's/^(__tick_data_[^=]+).*/\1/p'`
do unset "$var"
done
}
Expand Down

0 comments on commit c19fa86

Please sign in to comment.