dotfiles/dot_config/fish/private_functions/kjsonlogs.fish
2025-01-19 10:54:07 +01:00

3 lines
138 B
Fish

function kjsonlogs
klogs $argv -o raw | jq -r -R 'fromjson? | select(type == "object") | "\(.timestamp) \(.level) \(.short_message)"'
end