aboutsummaryrefslogtreecommitdiff
path: root/modules/terminal/system/programs/fish.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-07-11 16:08:14 +0000
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-07-11 16:08:14 +0000
commit444bcd45c14e5ddb891b1fedcd1ed5ffa0a196c8 (patch)
treed8308b420ed0ba8237d951a88c540db55b6d47ed /modules/terminal/system/programs/fish.nix
parentf75fd7bdbaacab04b5f4dd4042ad9e6493b3570b (diff)
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.*"
Diffstat (limited to 'modules/terminal/system/programs/fish.nix')
-rw-r--r--modules/terminal/system/programs/fish.nix4
1 files changed, 4 insertions, 0 deletions
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