Commit Graph
145 Commits
Author SHA1 Message Date
bchanot e82af805fa Merge feature/desktop-rdp-prompt into develop 2026-10-12 00:52:17 +02:00
bchanot 64f7d92b0b chore(memory): journal — desktop/RDP offer, WSL 2026-10-11 23:37:15 +02:00
bchanot 5d602696d5 feat(install): offer GNOME desktop and RDP remote login instead of forcing them, default no on WSL
ubuntu-desktop-minimal and gnome-remote-desktop were installed unconditionally
in the Linux block. On WSL they are useless (Windows owns the display) and the
desktop's NetworkManager/systemd-resolved rewrite /etc/resolv.conf, which lost
DNS mid-install (fail2ban/whois fetch failed on 'Temporary failure resolving').

- confirm() takes an optional default (y → [Y/n], Enter = yes, no tty = yes)
- is_wsl(): WSL_DISTRO_NAME or 'microsoft' in /proc/version
- offer_desktop(): desktop [Y/n], then RDP [Y/n]; WSL flips both to [y/N]
- README step 11 + table + packages, CHANGELOG Unreleased
2026-10-11 23:37:05 +02:00
bchanot deb1449c82 chore(memory): journal — tmux Ctrl+Alt+arrow panes, README key mappings 2026-10-09 15:53:29 +02:00
bchanot f45517fd75 Merge feature/tmux-ctrl-alt-arrow-panes into develop 2026-10-09 15:53:28 +02:00
bchanot ca1ce07fac docs(readme): terminal key mappings for tmux — iTerm2 Send Escape Sequence table (Cmd / Ctrl+Cmd + arrows), Linux notes 2026-10-09 15:53:27 +02:00
bchanot 5b6d2f2232 feat(tmux): Ctrl+Alt+arrow moves between panes without the prefix, copy-mode too (macOS: Ctrl+Cmd+arrow via iTerm2 escape-sequence mapping); CHANGELOG 2026-10-09 15:44:36 +02:00
bchanot 4cbc54511e chore(memory): journal — tmux Alt+arrow windows 2026-10-09 15:42:12 +02:00
bchanot 563c8f97ee Merge feature/tmux-alt-arrow-windows into develop 2026-10-09 15:42:12 +02:00
bchanot 6ba4e55e86 feat(tmux): Alt+Left/Right switch windows without the prefix (macOS: Cmd+arrow via iTerm2 escape-sequence mapping); CHANGELOG 2026-10-09 15:25:49 +02:00
bchanot e7d870905f Merge feature/tmux-copy-exit-keys into develop 2026-10-09 13:18:35 +02:00
bchanot d5a500bb46 chore(memory): LRN-017 tmux conf keys/list-keys/hooks/headless tests + journal — feat tmux-copy-exit-keys 2026-10-09 13:18:34 +02:00
bchanot ead6f96eb0 feat(tmux): after a mouse selection any bare key leaves copy-mode — bin/tmux-copy-exit-keys wraps the copy-mode-vi keys behind @mouse_sel (set on MouseDragEnd1Pane, cleared by pane-mode-changed hook); install.sh deploys it; docs + CHANGELOG 2026-10-09 13:08:16 +02:00
bchanot be0e5eda47 chore(memory): journal — tmux status tabs 2026-10-09 11:21:34 +02:00
bchanot 7067b46f43 Merge feature/tmux-status-tabs into develop 2026-10-09 11:21:28 +02:00
bchanot b5086863de feat(tmux): status bar tabs centred (absolute-centre), index + padding + blank between tabs, current tab bold on a light pill; CHANGELOG Unreleased 2026-10-09 11:08:13 +02:00
bchanot a7b3646d15 chore(memory): journal — tmux pane moves + hooks fail-closed merged 2026-10-09 09:27:22 +02:00
bchanot 280f592175 Merge feature/tmux-pane-moves-hooks-failclosed into develop 2026-10-09 09:26:47 +02:00
bchanot 059a770139 feat(tmux): move panes between windows — J/L join marked pane, S swap, ( ) repeatable swap-pane up/down; CHANGELOG Unreleased 2026-10-09 09:26:39 +02:00
bchanot ad8b9e55a8 chore(githooks): post-commit/post-merge fail closed on gitflow.autopush — unreadable or non-boolean value = no push, named warning 2026-10-09 09:26:39 +02:00
bchanot 40b72f85c4 Merge feature/docker-rootless into develop 2026-10-09 00:28:52 +02:00
bchanot de6fa1659c feat(install): rootless Docker offer disables the rootful daemon first
docker.service + docker.socket disabled and /var/run/docker.sock removed before
dockerd-rootless-setuptool.sh install, as the docs recommend; skipped when no
rootful unit exists.
2026-10-09 00:28:51 +02:00
bchanot 6882aa7c14 chore(memory): journal — feat docker-rootless 2026-10-09 00:26:26 +02:00
bchanot eb7a75182e feat(install): offer rootless Docker at the end of the Linux install
docker-ce-rootless-extras joins the Docker package list; offer_docker_rootless
installs uidmap/dbus-user-session/slirp4netns, runs dockerd-rootless-setuptool.sh
install (apt variant: /usr/bin, no PATH export) and enables linger. The rootful
daemon is left alone. bashrc-linux exports DOCKER_HOST only when the user socket
exists. README step 16 + package lists.
2026-10-09 00:26:26 +02:00
bchanot 9eea9782d1 chore(githooks): refresh post-commit/post-merge from the lib (fail-closed autopush read) 2026-10-09 00:26:25 +02:00
bchanot d78d76c9ad Merge chore/memory-gitconfig-autopush into develop 2026-10-07 18:28:50 +02:00
bchanot b637601176 chore(memory): BDR-019 + LRN-016 — feat gitconfig-autopush 2026-10-07 18:28:48 +02:00
bchanot e4cf81830c Merge feature/gitconfig-autopush into develop 2026-10-07 18:26:08 +02:00
bchanot c2196424b9 chore(memory): journal + contract/plan/oracle — feat gitconfig-autopush 2026-10-07 18:25:56 +02:00
bchanot 30b330967f docs: README step 6 precedence, empty-identity skip, fixed hooksPath + global caveat, macOS question order; CHANGELOG Unreleased — feat gitconfig-autopush 2026-10-07 18:25:55 +02:00
bchanot 252954b803 docs(claude): layout line — gitconfig template carries @AUTOPUSH@ and a fixed core.hooksPath 2026-10-07 18:23:25 +02:00
bchanot 9901ec5da0 feat(install): ask the gitflow push mode at install, fixed hooksPath, identity into gitconfig
gitconfig template: [gitflow] autopush = @AUTOPUSH@ (exact true/false, the
hooks fail closed on anything else) and a fixed core.hooksPath =
~/.claude/githooks (created by `make link` in claude-config, git expands ~).

install.sh: resolve_autopush at the identity step. A true/false already in
~/.gitconfig wins silently, else DOTFILES_GITFLOW_AUTOPUSH (any other value
aborts before a file is touched), else a prompt that re-asks until the
answer is exactly true or false (Enter = true), else true. render_gitconfig
refuses to write when the mode is not a boolean or @AUTOPUSH@ survives.

Fix: deploy_gitconfig received the repo bashrc template, so every install
wrote `name = @USER@` / `email = @EMAIL@`. It now takes the resolved
identity directly. patsub_replacement is turned off so an `&` in a name is
not expanded on bash >= 5.2.
2026-10-07 18:22:34 +02:00
@USER@ 79554585c8 Merge feature/repo-sync into develop 2026-10-07 15:45:59 +02:00
@USER@ f721a2b809 Merge branch 'develop' into feature/repo-sync
# Conflicts:
#	.claude/memory/journal.md
2026-10-07 15:45:57 +02:00
@USER@ 666ce6c3ee Merge feature/macos-zsh-default into develop 2026-10-07 15:45:34 +02:00
@USER@ 4414bed2a6 chore(memory): journal — macOS zsh default, remote-install prompts 2026-10-07 15:42:38 +02:00
@USER@ cc490f57b3 feat(install): zsh is the default macOS shell; remote install keeps its prompts
- choose_macos_shell answers zsh on Enter, on no terminal and on an
  unknown value; MACOS_SHELL=bash still picks bash.
- remote-install.sh hands /dev/tty to install.sh when one can be opened:
  piped into bash, stdin was the script, so install.sh saw no terminal
  and silently skipped the identity, shell and offer questions.
- remote-install.sh cloned master by default; origin only has main
  (the documented raw URL 404s on master, 200 on main). README updated.
2026-10-07 15:42:34 +02:00
bchanot f42e28807b feat(repo-sync): one local tree for every repo reachable on your forges
bin/repo-sync ports the Alphalink dotfiles repo/repo-reset zsh functions to
bash + zsh on Linux and macOS, for several forges at once: GitLab, GitHub
(+GHES), Gitea/Forgejo, Bitbucket Cloud, via curl + jq (no per-forge CLI).
Tokens live in ~/.config/repos/forges.conf (0600, parsed line by line, never
tracked), written by `repo-sync add`. Cache ~/.cache/repos/list refreshed
at most once a day (mkdir lock: flock is not on macOS), same namespace/project
on two forges kept once, archived and mirrors skipped. Layout
~/repos/<namespace with / as @>/<project>.

rc files: `repo <project> [namespace]` clones on demand and cd's, with
completion (bash compgen, zsh _describe), background refresh at shell start.
install.sh: jq in the apt and brew lists, chmod repo-sync.

Verified: shellcheck + bash -n, zsh -n; stub-curl harness over the four forges
(pagination, dedup, auth headers, lock, stale cache, path/clone); live GitLab
refresh (139 projects, 3s).
2026-10-07 15:31:03 +02:00
bchanot 2573756e73 chore(memory): LRN-015 tmux window-active-style inherits window-style 2026-10-07 12:32:38 +02:00
bchanot fab1c8a0de Merge feature/tmux-dim-inactive-panes into develop 2026-10-07 12:24:00 +02:00
bchanot 6f0f6c1fa3 chore(memory): journal — tmux dim inactive panes 2026-10-07 12:23:58 +02:00
bchanot 08ad4ddbfe fix(tmux): dim colours tuned for the iTerm2 dark profile
window-active-style must repeat the terminal colours: "default" there
inherits window-style since tmux 3, so the active pane was dimmed too.
Inactive panes lightened to #353d48 / #a6acb6, visible against the
#15191f background.
2026-10-07 12:23:57 +02:00
bchanot ccc220fc69 feat(tmux): dim inactive panes (window-style / window-active-style)
Inactive panes get fg=colour247,bg=colour234, the active one keeps the
terminal default. Only default-coloured cells change, so coloured
output and vim's own background are untouched.
2026-10-07 12:13:28 +02:00
bchanot 6b634e2c77 chore(memory): journal — tmux drag fix merged 2026-10-06 18:05:20 +02:00
bchanot 22452477d5 Merge bugfix/tmux-drag-syntax-error into develop 2026-10-06 18:05:11 +02:00
bchanot 72d38b68df chore(memory): journal — tmux drag syntax error 2026-10-06 18:02:54 +02:00
bchanot 31f8400852 fix(tmux): drag in a mouse app (claude, vim) died with "syntax error"
The MouseDrag1Pane binding escaped the inner quotes as \" inside a
single-quoted string. Since tmux 3.0 the backslashes are literal there,
so the branch taken when the pane has mouse tracking on failed to parse:
no selection, "syntax error" in the status line. Plain-shell panes never
hit that branch, which is why only claude/vim panes were affected.
2026-10-06 18:02:47 +02:00
bchanot 773e1c5fa6 chore(memory): journal — tmux ctrl nav in copy-mode 2026-10-06 17:16:20 +02:00
bchanot 8b6ed6b983 Merge bugfix/tmux-copy-mode-ctrl-nav into develop 2026-10-06 17:16:06 +02:00
bchanot dda78bb9bb fix(tmux): ctrl+u/h/j/k switch panes in copy-mode too
Stock copy-mode-vi table binds C-h cursor-left, C-u halfpage-up and C-j
copy, so the pane moves turned into text navigation once scrolled. Arrows
keep that job; the four keys now select-pane in copy-mode like at root.
2026-10-06 16:58:19 +02:00