Commit Graph
71 Commits
Author SHA1 Message Date
valknarandClaude Sonnet 4.6 af6beaff1e revert: remove SYSTEMD_COLORS/SYSTEMD_PAGER from logs — no effect without TTY
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 19:25:56 +02:00
valknarandClaude Sonnet 4.6 5a6e209b6d fix: use SYSTEMD_PAGER=cat instead of --no-pager for colored journal logs
--no-pager causes journalctl to disable ANSI colors. Setting SYSTEMD_PAGER=cat
achieves the same effect (no interactive pager) while preserving color output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 19:21:14 +02:00
valknarandClaude Sonnet 4.6 4276a5b94e fix: pass SYSTEMD_COLORS=1 to systemctl/journalctl for colored output
systemctl and journalctl use their own color detection (SYSTEMD_COLORS env
var) independently of the terminal — child processes don't always inherit
it. Force colors for status and logs subcommands of update and backup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 19:18:17 +02:00
valknarandClaude Sonnet 4.6 65acede0a5 fix: combine Environment= into single line in systemd units
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 19:15:45 +02:00
valknarandClaude Sonnet 4.6 bf396972b0 fix: bake STACKS_DIR into systemd service units at install time
The update and backup services ran without STACKS_DIR since systemd
doesn't source ~/.env or ~/.zshrc. Capture the value at install time
and write it as Environment= in the generated unit files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 19:12:31 +02:00
valknarandClaude Sonnet 4.6 1bfea393da refactor: extend source_file with optional export mode for ~/.env
Add 'export' flag to source_file that wraps the source call in set -a/+a,
auto-exporting all variables to child processes. Use it for ~/.env instead
of a separate inline block.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 18:32:09 +02:00
valknarandClaude Sonnet 4.6 eeed7f3566 fix: source ~/.env with set -a so variables are exported to child processes
Variables set in ~/.env without explicit export were shell-local only —
child processes (scripts, subshells) never inherited them. Source it in
a dedicated section with set -a/set +a to auto-export everything.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 18:28:46 +02:00
valknarandClaude Sonnet 4.6 3ef96ff8ab fix: stacks STACKS_DIR defaults to PWD instead of ~/stacks
Makes stacks work like arty — discovers stacks in the current directory.
Explicit STACKS_DIR env var still takes precedence.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 18:11:58 +02:00
valknar 44655ccbd9 fix: remove manual setup instructions from readme 2026-06-22 17:42:10 +02:00
valknar e52029f9e5 fix: arty.yml rust install cmd 2026-06-22 17:30:01 +02:00
valknarandClaude Sonnet 4.6 39c9c04eb4 chore: remove signature.txt
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 16:39:36 +02:00
valknarandClaude Sonnet 4.6 bdd4e290bd docs: update README installation section
- Update prerequisites note to mention zsh
- Add step 3 (zsh install + chsh) and step 7 (exec zsh -l)
- Remove exec zsh from after-installation steps (script does it)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 16:35:29 +02:00
valknarandClaude Sonnet 4.6 754f6d1092 fix: make .zprofile SSH agent setup fail-safe
- Create ~/.ssh dir if missing before writing agent-environment
- Suppress ssh-add errors (no keys yet is fine)
- Skip entire block if ssh-agent binary is not installed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 16:31:01 +02:00
valknarandClaude Sonnet 4.6 7f5991c1bd fix: setup and arty completion bugs
bin/setup:
- Fix Step 1 of 6 → Step 1 of 7
- exec zsh -l </dev/tty to avoid inheriting stale curl pipe on stdin
  (without /dev/tty the curl|sh pipe bytes re-run the script as zsh)
- Fall back to printing exec zsh hint when /dev/tty is unavailable
- Check completion file existence instead of trusting arty exit code

bin/arty:
- Fix cmd_completion returning exit 1 for zsh: last statement was
  [[ "$shell" == "bash" ]] which is false, changed to if/fi

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 16:26:13 +02:00
valknarandClaude Sonnet 4.6 febcd99e35 fix: exec zsh -l at end of setup, remove exec zsh hint
The script already sets zsh as default shell via chsh. Now it also
hands off to a zsh login shell immediately at the end so the user
doesn't need to run exec zsh manually.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 16:18:42 +02:00
valknarandClaude Sonnet 4.6 24e3c050c0 fix: add zsh step, use arty completion zsh --install
- Add ensure_zsh step (step 3 of 7): installs zsh via apt/brew if
  missing, sets it as default shell via chsh
- Replace manual completion write with arty completion zsh --install
- Extend PATH with ~/.local/bin and ~/go/bin before completion step so
  yq installed by arty deps (in a subshell) is found
- Renumber all steps 1-7

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 16:11:23 +02:00
valknarandClaude Sonnet 4.6 7e16a6475b feat: add bin/setup bootstrap script and update README installation docs
- bin/setup: curl-pipeable installer — re-execs with bash, detects OS,
  installs git (apt/xcode-select), clones dotfiles into ~, runs arty deps,
  installs arty zsh completion, prints next steps; fully idempotent
- README.md: replace Quick Start with Installation one-liner, add step table,
  After Installation and Manual Setup sections; fix stale ~/scripts reference
- .gitignore: whitelist bin/setup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 15:57:45 +02:00
valknarandClaude Sonnet 4.6 cfee542f35 chore: update bin scripts — rename references from .sh to plain names
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 15:39:21 +02:00
valknarandClaude Sonnet 4.6 f38b15f550 feat: move scripts from ~/scripts to ~/bin and track in git
Drop .sh extension — scripts are now invocable directly as arty and stacks.
Remove redundant aliases from .zshrc since ~/bin is already in PATH.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 15:36:45 +02:00
valknar 38f4941649 fix: arty.yml 2026-06-22 15:19:30 +02:00
valknarandClaude Sonnet 4.6 fffd0a7ef8 fix: add quickInput background keys to Nord theme — command palette was brown
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 12:59:28 +02:00
valknarandClaude Sonnet 4.6 5268b2da2e chore: update arty scripts — trim vscode extensions, add micro editorconfig plugin
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 12:46:21 +02:00
valknarandClaude Sonnet 4.6 874ed8c36c fix: correct context menu hover — list.hoverBackground was same as background
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 12:42:59 +02:00
valknarandClaude Sonnet 4.6 133d61e32a fix: add menu color keys to Nord VSCode theme — context menu was brown
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 12:40:21 +02:00
valknarandClaude Sonnet 4.6 2cae8978e7 chore: update VSCode workspace settings and arty scripts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 12:39:07 +02:00
valknarandClaude Sonnet 4.6 df2d6bdce4 fix: increase git repository scan depth to find repos under ~/projects
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 12:25:12 +02:00
valknarandClaude Sonnet 4.6 297a034e05 chore: move VSCode settings and keybindings to .vscode/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 12:21:21 +02:00
valknarandClaude Sonnet 4.6 e862aaa0a2 feat: embed Nord colorscheme directly in VSCode settings
Replace the Nord extension dependency with inline workbench.colorCustomizations
and editor.tokenColorCustomizations, base theme set to Default Dark Modern.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 12:13:08 +02:00
valknarandClaude Sonnet 4.6 63506e82c8 chore: add preferredDarkColorTheme Nord to VSCode settings
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 12:09:01 +02:00
valknarandClaude Sonnet 4.6 2130b7b67d chore: remove micro:setup from arty scripts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 11:33:37 +02:00
valknarandClaude Sonnet 4.6 f804d104de chore: trim VSCode settings and extension list
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 11:33:00 +02:00
valknarandClaude Sonnet 4.6 5239a98f47 chore: clean up VSCode settings and add fonts/extensions arty tasks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 11:26:18 +02:00
valknarandClaude Sonnet 4.6 e3cc576d96 feat: track VSCode settings and keybindings in dotfiles
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 11:20:20 +02:00
valknarandClaude Sonnet 4.6 f6fcf9ff57 feat: apply Nord colorscheme to powerlevel10k prompt
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 11:11:24 +02:00
valknarandClaude Sonnet 4.6 bccadcaba9 chore: update yazi Nord theme padding and separator glyphs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 21:03:21 +02:00
valknarandClaude Sonnet 4.6 84f7fec2a7 fix: correct yazi hover — indicator.current drives the effect, not mgr.hovered
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 20:51:03 +02:00
valknarandClaude Sonnet 4.6 bb114faec6 fix: restore indicator to preset defaults, use bg-only hovered
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 20:41:02 +02:00
valknarandClaude Sonnet 4.6 3476766b26 fix: use indicator badge for yazi icon hover highlight
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 20:30:39 +02:00
valknarandClaude Sonnet 4.6 b63e76e779 fix: use reversed for yazi hovered style to include icon in highlight
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 20:25:28 +02:00
valknarandClaude Sonnet 4.6 efd2c86a78 fix: rewrite yazi Nord theme based on preset structure
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 20:06:45 +02:00
valknarandClaude Sonnet 4.6 26d2b066bc fix: add hovered style to yazi mgr for visible cursor highlight
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 20:03:41 +02:00
valknarandClaude Sonnet 4.6 b76b9762ab fix: correct sep_left/sep_right format in yazi status config
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 20:01:10 +02:00
valknarandClaude Sonnet 4.6 23bde1b367 fix: remove invalid dir value from yazi filetype is-rule
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 20:00:36 +02:00
valknarandClaude Sonnet 4.6 8138779c22 fix: add required url field to yazi filetype is-rules
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 20:00:05 +02:00
valknarandClaude Sonnet 4.6 9ffaab9836 feat: add Nord theme for Yazi
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 19:59:08 +02:00
valknar 45aea1c478 fix: proper env export 2026-06-21 19:54:27 +02:00
valknarandClaude Sonnet 4.6 d29214d140 feat: add Nord true-color scheme for micro editor
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 19:50:48 +02:00
valknarandClaude Sonnet 4.6 43a4864a50 feat: add Nord colorscheme for micro and track micro config in git
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 19:34:02 +02:00
valknar e84b1e51d8 feat: micro editor 2026-06-21 19:15:30 +02:00
valknarandClaude Sonnet 4.6 fd573e1a1d chore: track .config/yazi/yazi.toml in git
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 18:58:12 +02:00
valknar 8685ff0c51 feat: y function to preserve navigation from yazi 2026-06-21 18:50:36 +02:00
valknar 222191485a fix: conditional cat alias 2026-06-21 18:44:23 +02:00
valknar 01710cfcf0 feat: rust and more 2026-06-21 18:31:48 +02:00
valknar 0bce027dcb feat: bat to cat alias 2026-06-21 17:29:30 +02:00
valknar fc00dac666 chore: cleanup 2026-06-21 17:16:29 +02:00
valknar 7245e6b563 chore: cleanup 2026-06-21 16:55:05 +02:00
valknar 710158d331 chore: cleanup 2026-06-21 16:47:50 +02:00
valknarandClaude Sonnet 4.6 7d7f85f3e1 docs(home): update README to reflect cleaned-up arty.yml
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 16:46:53 +02:00
valknar f4e992be0a chore: cleanup scripts 2026-06-21 16:40:03 +02:00
valknar f192326d31 refactor: use ZSH_CUSTOM from .zshenv 2026-06-21 15:47:56 +02:00
valknar f9a883611b chore: cleanup 2026-06-20 16:01:08 +02:00
valknarandClaude Sonnet 4.6 e8786b6e83 docs(home): update README — fix SSH clone URL, scripts repo link, gitignore example
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-20 15:53:11 +02:00
valknarandClaude Sonnet 4.6 41d13ff733 refactor(home): move scripts/ out into its own repo
scripts/ now lives in git@dev.pivoine.art:valknar/scripts.git.
Remove it from the home repo tracking and stop allowlisting it
in .gitignore.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-20 15:48:03 +02:00
valknar 1343faf303 fix: stacks folder path 2026-06-20 02:12:25 +02:00
valknar 8134d649d8 chore: cleanup 2026-06-19 20:32:45 +02:00
valknar e42c80a59a fix: update fpath 2026-06-19 20:16:38 +02:00
valknar 5e72cffe47 chore: cleanup 2026-06-19 18:47:29 +02:00
valknarandClaude Sonnet 4.6 73feb5cb63 refactor: extract eval_expr helper and simplify eval_expressions loop
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 18:29:35 +02:00
valknar db3bab3558 chore: cleanup 2026-06-19 18:18:04 +02:00
valknarandClaude Sonnet 4.6 7919cd5099 refactor: restructure .zshrc with array-driven init and add pyenv eval support
Replace ad-hoc conditional blocks with helper functions and arrays for PATH
extensions, sourced files, shell options, and a new eval_expressions array
that evals tool initializer output (starting with pyenv init -).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 17:24:15 +02:00
valknar 2601041008 chore: squash history 2026-06-17 19:30:07 +02:00