You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any chance of adding colorizing to the other commands, like tail/head/more/less, etc?
As an option, you can forward all arguments to the command(let's take tail as an example).
Assuming this command was passed to the console - ctail -20 ~/Folder1/folder2/.file
It can be transformed into something like tail -20 ~/Folder1/folder2/.file | ccat
As for now, we can manually add support for this. Just add
ctail() {
tail "$@"| ccat
}
to your bash config file(and same for all other functions, if needed). But it would be great to have those functions as built-in, without the need of transforming your bash config file.
The text was updated successfully, but these errors were encountered:
Is there any chance of adding colorizing to the other commands, like
tail/head/more/less
, etc?As an option, you can forward all arguments to the command(let's take
tail
as an example).Assuming this command was passed to the console -
ctail -20 ~/Folder1/folder2/.file
It can be transformed into something like
tail -20 ~/Folder1/folder2/.file | ccat
As for now, we can manually add support for this. Just add
to your bash config file(and same for all other functions, if needed). But it would be great to have those functions as built-in, without the need of transforming your bash config file.
The text was updated successfully, but these errors were encountered: