Skip to content

fix: review fixes from dotfiles audit#21

Merged
RWejlgaard merged 1 commit into
masterfrom
fix-dotfiles-review
Jun 13, 2026
Merged

fix: review fixes from dotfiles audit#21
RWejlgaard merged 1 commit into
masterfrom
fix-dotfiles-review

Conversation

@RWejlgaard

Copy link
Copy Markdown
Owner

Fixes from a review of the dotfiles.

Bugs

  • macOS/FreeBSD package aliases never activated. [ uname = "Darwin" ] in aliases.fish compared the literal string "uname" to "Darwin" (it never ran the command), so the get/search brew/pkg aliases were never defined on those systems. Now uses test (uname) = ....
  • vol redirection backwards. 2>&1 > /dev/null sent stderr to the terminal and only stdout to the void. Now > /dev/null 2>&1.

Improvements

  • Dropped TERM=xterm from config.fish — forcing plain xterm threw away truecolor/256-color inside tmux. Instead set default-terminal tmux-256color and enable truecolor passthrough in tmux.conf.
  • gitissue now confirms before git reset --hard (and has a usage guard) so it can't silently discard uncommitted work.
  • Symlink instead of copy in 02-move-files.sh, so edits to the live config flow back to the repo. envvars.fish and status.conf are still copied (and only if absent) to preserve per-machine overrides. Removed the dead mkdir ~/.config/kitty.
  • Makefile: added refresh to .PHONY.
  • CI: bumped actions/checkout to v4 and dropped the unused QEMU setup (the matrix only builds linux/amd64 on an amd64 runner).
  • README: updated the file-deployment section to describe symlinking.

- aliases: fix macOS/FreeBSD detection — `[ uname = "Darwin" ]` compared the
  literal string "uname" and never matched, so brew/pkg aliases never set
- aliases: fix `vol` redirection order so both stdout and stderr are silenced
- config.fish: drop `TERM=xterm`, which broke truecolor inside tmux
- tmux: set default-terminal tmux-256color and enable truecolor passthrough
- functions: confirm before `git reset --hard` in gitissue, add usage guard
- install: symlink configs instead of copying so live edits flow back to repo
  (envvars.fish/status.conf still copied to preserve per-machine overrides);
  drop dead kitty mkdir
- Makefile: add refresh to .PHONY
- ci: bump checkout to v4, drop unused QEMU step (amd64-only on amd64 runner)
@RWejlgaard RWejlgaard merged commit 491c0e5 into master Jun 13, 2026
4 checks passed
@RWejlgaard RWejlgaard deleted the fix-dotfiles-review branch June 13, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant