Is $S^0 = \{x \in \mathbb{R} \ |\ \|x\| = 1 \}$ path connected in the trivial topology?
I'll add some definitions here for brevity
Definition (Path): Given points $x, y$ of a space $X$, a path in $X$ from $x$ to $y$ is a continuous map $f: [a, b] \to X$ of some closed interval in the real line into $X$ such that $f(a) = x$ and $f(b) = y$.
Definition (Path Connectedness): A space $X$ is said to be path connected if every pair of points can be joined by a path in $X$.
My Attempted Proof
We have clearly that $S^0 = \{-1, 1\}$. I assert that $S^0$ is path connected in the trivial topology $\mathcal{T} = \{ \emptyset, \{-1, 1\}\}$. Pick $[a, b] \subset \mathbb{R}$ such that $a \in \mathbb{Q}$ and $b \not\in \mathbb{Q}$.
If we define $f : [a, b] \subset \mathbb{R} \to \{-1, 1\}$ such that $$f(x) = \begin{cases}-1 \ \ \ \text{if} \ \ \ x \in \mathbb{Q}\\ \ \ \ 1 \ \ \ \text{if} \ \ \ x \not\in \mathbb{Q} \end{cases}$$ for $x \in [a, b]$, then $f$ is clearly continuous as $f^{-1}\left[\{-1, 1\}\right] = [a, b]$ which is open in the subsace topology. Furthermore $f$ is a path since $f(a) = -1$ and $f(b) = 1$, hence $(S^0, \mathcal{T})$ is path connected $\ \square$
Is my proof correct? This seemed like a slightly counter-intuitive example that I constructed, or perhaps it is trivial, I'm not so sure.