The curent script that themes the prompt uses sd because sed is a pain while dealing with variables.
sd
sed