Skip to content

u/Jst4NE

In this archive from Jan 2016 to Aug 2025

0
posts
2
comments
0
media
29
score

Top comments

~/.claude/hooks/temporal-context.sh

#!/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.

17 points
  1. 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.
  2. 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.
  3. 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.

12 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.