mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 06:28:08 +01:00
Add kjsonlogs
This commit is contained in:
parent
c204cea625
commit
ec63bd4486
1 changed files with 3 additions and 0 deletions
3
dot_config/fish/private_functions/kjsonlogs.fish
Normal file
3
dot_config/fish/private_functions/kjsonlogs.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function kjsonlogs
|
||||||
|
klogs $argv -o raw | jq -r -R 'fromjson? | select(type == "object") | "\(.time) \(.levelname) \(.message)"'
|
||||||
|
end
|
Loading…
Reference in a new issue