dotfiles/dot_config/fish/private_functions/kjsonlogs.fish
2022-03-21 08:20:30 +01:00

3 lines
131 B
Fish

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