mirror of
https://github.com/larstvei/nix-config.git
synced 2024-11-26 08:58:31 +00:00
Fix directory tracking for fish & vterm
This commit is contained in:
parent
746ea0f434
commit
9ca96d7eb4
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user