mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 20:13:05 +03:00
6 lines
182 B
Fish
6 lines
182 B
Fish
function _tide_decolor -a text
|
|
set text (string replace -a (set_color normal) '' "$text")
|
|
set text (string replace -ar '\e\[[0-9;]*m' '' "$text")
|
|
|
|
printf '%s' "$text"
|
|
end |