How can I parametrize the trajectory

so that it is a smooth path $h:[-1,1]\rightarrow \mathbb{C}$?
I think that I should use $$h=\left\{\begin{array}{ccl}t+i |t|&:&-1\leq t \leq 0\\ ? &:&0\leq t \leq 1\end{array}\right.$$ but I'm not sure what to put for $?$ to make it smooth.
I apologize in advance if this is a duplicate. I couldn't find it in the search.
