From 444bcd45c14e5ddb891b1fedcd1ed5ffa0a196c8 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Fri, 11 Jul 2025 16:08:14 +0000 Subject: new behavior of broot minibuffer file opener thingy (details) If there is already a pane that looks like "hx {file}", switch to that pane If the current pane is a shell (bash or fish), send-keys "hx {file}" If the current pane is helix, send-keys ":o {file}" Otherwise, open the file in a new pane Prereq changes: hx has to change its own title to "^hx {file}" when launched fish has to have a title of "^fish.*" --- modules/terminal/system/programs/fish.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/terminal/system/programs/fish.nix') diff --git a/modules/terminal/system/programs/fish.nix b/modules/terminal/system/programs/fish.nix index 55e15a0..418aac3 100644 --- a/modules/terminal/system/programs/fish.nix +++ b/modules/terminal/system/programs/fish.nix @@ -9,6 +9,10 @@ init = '' set fish_greeting + function fish_title + echo fish (prompt_pwd) + end + pay-respects fish --alias | source ''; in -- cgit v1.3.1