Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow overriding lib/*.zsh in custom/lib #3344

Merged
merged 1 commit into from Dec 13, 2014
Merged

allow overriding lib/*.zsh in custom/lib #3344

merged 1 commit into from Dec 13, 2014

Conversation

wrboyce
Copy link
Contributor

@wrboyce wrboyce commented Nov 26, 2014

Simple change which has been submitted before and closed without explanation… Can we get this discussion going again?

refs #1369 #2762 and possibly #1579 #2172 #2450!

Would really like to see this, or a similar feature, merged.

@wrboyce
Copy link
Contributor Author

wrboyce commented Dec 7, 2014

Heeelloooooooooo?!

@robbyrussell
Copy link
Member

Would like some testers for this. One concern about this would be on start performance (as that's been a concern of our users... so if we add something to check for each config file then check for a custom file that overrides it... what's the latency we'll be introducing?

Some before and after speed tests might be nice

@robbyrussell robbyrussell added the Status: testers needed Pull Requests that are waiting for testers to merge label Dec 8, 2014
@wrboyce
Copy link
Contributor Author

wrboyce commented Dec 8, 2014

I'm not sure how precise these timing tests are, but here goes:

Using this branch and my custom directory.

major:~% for i in {1,2,3,4,5}; time /bin/zsh -i -c exit
/bin/zsh -i -c exit  0.52s user 0.22s system 99% cpu 0.741 total
/bin/zsh -i -c exit  0.53s user 0.22s system 99% cpu 0.751 total
/bin/zsh -i -c exit  0.52s user 0.22s system 100% cpu 0.736 total
/bin/zsh -i -c exit  0.52s user 0.22s system 99% cpu 0.741 total
/bin/zsh -i -c exit  0.52s user 0.22s system 100% cpu 0.735 total

Using master branch and my custom directory.

major:~% for i in {1,2,3,4,5}; time /bin/zsh -i -c exit
/bin/zsh -i -c exit  0.53s user 0.22s system 99% cpu 0.751 total
/bin/zsh -i -c exit  0.53s user 0.22s system 100% cpu 0.752 total
/bin/zsh -i -c exit  0.52s user 0.22s system 99% cpu 0.734 total
/bin/zsh -i -c exit  0.53s user 0.22s system 99% cpu 0.756 total
/bin/zsh -i -c exit  0.53s user 0.22s system 100% cpu 0.755 total

Using this branch and no custom directory

major:~% for i in {1,2,3,4,5}; time /bin/zsh -i -c exit
/bin/zsh -i -c exit  0.52s user 0.22s system 99% cpu 0.745 total
/bin/zsh -i -c exit  0.52s user 0.22s system 99% cpu 0.742 total
/bin/zsh -i -c exit  0.52s user 0.22s system 99% cpu 0.746 total
/bin/zsh -i -c exit  0.52s user 0.22s system 100% cpu 0.735 total
/bin/zsh -i -c exit  0.52s user 0.22s system 99% cpu 0.732 total

Using master branch and no custom directory

major:~% for i in {1,2,3,4,5}; time /bin/zsh -i -c exit
/bin/zsh -i -c exit  0.54s user 0.23s system 100% cpu 0.768 total
/bin/zsh -i -c exit  0.54s user 0.22s system 99% cpu 0.761 total
/bin/zsh -i -c exit  0.52s user 0.22s system 99% cpu 0.732 total
/bin/zsh -i -c exit  0.53s user 0.22s system 99% cpu 0.749 total
/bin/zsh -i -c exit  0.53s user 0.22s system 99% cpu 0.753 total

robbyrussell added a commit that referenced this pull request Dec 13, 2014
allow overriding lib/*.zsh in custom/lib
@robbyrussell robbyrussell merged commit 141c2e5 into ohmyzsh:master Dec 13, 2014
@robbyrussell
Copy link
Member

You're welcome.

Sincerely,
Dictator

@wrboyce
Copy link
Contributor Author

wrboyce commented Dec 22, 2014

Haha, I promise I'd been meaning to thank you for merging this!

Thanks man, and a Merry Christmas to you!

Sent from my iPhone

On 22 Dec 2014, at 23:04, Robby Russell notifications@github.com wrote:

You're welcome.

Sincerely,
Dictator


Reply to this email directly or view it on GitHub
#3344 (comment).

@mcornella mcornella removed the Status: testers needed Pull Requests that are waiting for testers to merge label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants