#!/bin/bash
# SessionStart hook to inject current date/time context
# This runs automatically when a user starts a new session with Claude Code
# Output JSON with time/date context
cat <<EOF
{
"suppressOutput": true,
"hookSpecificOutput": {
"hookEventName": "SessionStart",
"additionalContext": "Current time and date: $(date '+%H:%M:%S') $(date '+%Y-%m-%d')"
}
}
EOF
I use this session start hook, have not had such trouble since.
3 years and rolling currently, before that another 3 years. Basically if you know what you are doing (I at times did not), you do not have to reinstall.
Can't help you much there but I think it shouldn't be much of a problem, but I guess it can get cluttered with all the packages different DEs bring.
Same as (1.), when you set things up, there should not be any problem, I have not had any major problem... You know, plasmashell (kde) does brake and restart every week or two, but I don't think it has much to do with arch and is getting better with every new plasma version.
Rolling-release is when you don't install new version of OS every six months, but rather upgrade everything on the way... things still change, but more gradually.
Bleeding-edge is when you have packages as they are released, not waiting for new OS release for example. Most obvious is with linux kernel I guess, since on update Arch you'll always (maybe a few hours or a day lag) have latest released stable kernel, while on ubuntu (I'm speaking from memory here) even the day the new version is released, it's kernel is probably not the most recent stable one.
~/.claude/hooks/temporal-context.sh
I use this session start hook, have not had such trouble since.
Rolling-release is when you don't install new version of OS every six months, but rather upgrade everything on the way... things still change, but more gradually. Bleeding-edge is when you have packages as they are released, not waiting for new OS release for example. Most obvious is with linux kernel I guess, since on update Arch you'll always (maybe a few hours or a day lag) have latest released stable kernel, while on ubuntu (I'm speaking from memory here) even the day the new version is released, it's kernel is probably not the most recent stable one.