diff --git a/modules/home.nix b/modules/home.nix index 848269e..94ec90b 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -47,6 +47,22 @@ enableFishIntegration = true; }; + programs.fish = { + enable = true; + + functions = { + track_directories = { + description = "For directory tracking in emacs vterm"; + onEvent = "fish_postexec"; + body = "printf \'\\e]51;A\'(pwd)\'\\e\\\\\'"; + }; + }; + + shellInit = '' + track_directories + ''; + }; + programs.git = { enable = true; userName = "larstvei";