News for hackers. Stuff that matters.
Re:Python startup time: milliseconds matter by anonymouz on Wednesday May 02, 2018 @10:03PM (#16982816)
Somewhat tangentially, I noticed that fish performs quit badly in remote-mounted (sshfs) directories that are git repositories. I wonder if it would be possible to detect a remote mounted filesystem and turn off/tone down some of the round-trip heavy operations?
Re:Python startup time: milliseconds matter by justusw on Wednesday May 02, 2018 @10:39PM (#16982965)
I've gone through your problem myself countless times, and concluded that hitting ctrl+c to interrupt the status line every time it tries to render the current repository state is not very productive.

My git status line uses timelimit (https://devel.ringlet.net/sysutils/timelimit/) to automatically stop if any of the git status parts (dirty/staged/new files) take > 0.1 seconds to finish:

https://github.com/justuswilhelm/pufferfish/blob/master/fish...