tide/functions/_tide_decolor.fish
2020-06-07 20:14:15 -07:00

3 lines
126 B
Fish

function _tide_decolor -a text
string replace -a $_tide_color_normal '' "$text" | string replace -ar '\e\[[0-9;]*m' ''
end