mirror of
https://github.com/larstvei/nix-config.git
synced 2024-11-26 08:58:31 +00:00
Fix directory tracking interfering with projectile (Emacs)
Tracking directories is there in order for shells inside Emacs to pick up on what the current directory is. This does some weird printing that I don't understand, and interferes when Emacs runs shell commands and parses the output. This completely brakes projectile mode in Emacs. The fix was apparently to not attempt to track the directory if the terminal is too dumb.
This commit is contained in:
parent
6c0a3531ff
commit
b527d57ba7
@ -114,7 +114,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
shellInit = ''
|
shellInit = ''
|
||||||
track_directories
|
if test "$TERM" != "dumb"
|
||||||
|
track_directories
|
||||||
|
end
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user