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