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:
larstvei 2022-10-09 23:15:07 +02:00
parent 6c0a3531ff
commit b527d57ba7

View File

@ -114,7 +114,9 @@
};
shellInit = ''
if test "$TERM" != "dumb"
track_directories
end
'';
};