dotfiles/fish/.config/fish/functions/stripcolors.fish
2019-07-24 12:03:29 -04:00

4 lines
79 B
Fish

function stripcolors
sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g"
end