-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix slowdown from undefined VCS functions
Without these functions defined, each prompt invocation would force the shell to check if the command was valid, and generate an error message if it was not. We know that it won't be, so we can shortcut that by setting it as such. More importantly, if the Bash function command_not_found_handle() is set, it will be executed for each function that is not set. For Git or HG, this is only one. But for SVN, it is enough to lock the prompt for a while. Fixes #696
- Loading branch information
Showing
3 changed files
with
97 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters