mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-25 04:53:11 +03:00
3 lines
102 B
Fish
3 lines
102 B
Fish
function _tide_decolor -a text
|
|
string replace --all --regex '\e(\[[\d;]*|\(B\e\[)m' '' "$text"
|
|
end |