This is a function designed for 'bashrc' to pipe command output with colors
NOTE: Command used has to support piping of colors
Example usage: some program with colors | kix
kix() { printf 'Paste is present on: %s\n' "https://rust-lang.github.io/rust-log-analyzer/log-viewer/#https://cors-anywhere.herokuapp.com/$(curl -n -F 'f:1=<-' http://ix.io 2>/dev/null)" ;}
Example output:
kreyren@leonid:~$ cave -c y show mesa | kix
Paste is present on: https://rust-lang.github.io/rust-log-analyzer/log-viewer/#https://cors-anywhere.herokuapp.com/http://ix.io/2oqu