-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes in
_hydro_pwd
and _hydro_prompt
These changes will make it so `_hydro_pwd` will run only when needed. Before this, `_hydro_pwd` would always run, not just when pwd changes beacuse of `--on-variable fish_prompt_pwd_dir_length`. Now the `hydro_pwd_dir_length` is used instead. The part about finding git root in `_hydro_pwd` we do want to run every time, so it is moved to `_hydro_prompt`. Otherwise things break when initializing and deleting git repos.
- Loading branch information
Showing
2 changed files
with
18 additions
and
18 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