mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
I add two function to have logs with colors
This commit is contained in:
parent
541da0c9d1
commit
80e50a0a8c
1 changed files with 7 additions and 0 deletions
|
|
@ -38,3 +38,10 @@ function take() {
|
||||||
cd $1
|
cd $1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function logview() {
|
||||||
|
ccze -A < $1 | less -R
|
||||||
|
}
|
||||||
|
|
||||||
|
function logtail() {
|
||||||
|
tail -f $1 | ccze
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue