feat: add fzf.fish modifier script, Kitty padding, and fix Fisher update timing

This commit is contained in:
2025-12-28 19:07:33 -06:00
parent 7c36a0a1ce
commit 7a003edaeb
3 changed files with 22 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bun
// Modify fzf.fish to disable default CTRL+R binding (allow Atuin to handle it)
// This is a chezmoi modify_ script that processes fzf.fish on every apply
const content = await Bun.stdin.text();
const lines = content.split('\n');
// Find and comment out the standalone fzf_configure_bindings call
const targetLineRegex = /^(\s*)fzf_configure_bindings\s*$/;
const modifiedLines = lines.map(line => {
if (targetLineRegex.test(line) && !line.trim().startsWith('#')) {
const indent = line.match(/^(\s*)/)?.[1] || '';
return `${indent}# fzf_configure_bindings # Disabled - configured in config.fish instead`;
}
return line;
});
console.log(modifiedLines.join('\n'));