mirror of
https://github.com/nmasur/dotfiles
synced 2026-08-29 08:38:35 +00:00
fix(zellij): fix CWD tracking in fish for zellij tabs
This commit is contained in:
@@ -75,6 +75,17 @@ in
|
||||
${lib.getExe pkgs.zellij} action new-pane --start-suspended -- gh run watch
|
||||
'';
|
||||
};
|
||||
__fish_update_cwd_osc = {
|
||||
description = "Notify Zellij/terminal of CWD changes without hostname mismatch";
|
||||
body = # fish
|
||||
''
|
||||
if test "$TERM" != "dumb"
|
||||
printf \e\]7\;file://%s\a (string escape --style=url -- $PWD)
|
||||
end
|
||||
'';
|
||||
onVariable = "PWD";
|
||||
onEvent = "fish_prompt";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user