mathiasbynens / dotfiles

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS
https://mths.be/dotfiles
MIT License
30.01k stars 8.74k forks source link

Fix for mosh and some other non-interactive shells #963

Open unqueued opened 2 years ago

unqueued commented 2 years ago

If certain programs are installed that are not part of the base system, such as what is installed via homebrew, then they will not be found in a non-interactive shell. Rsync and git will default to the system provided versions in /usr/bin, and programs like mosh-server and git-annex will not work at all.

More discussion here: https://github.com/mobile-shell/mosh/issues/102#issuecomment-12503646