bash startup optimisation (5x faster) #2499
lbonvarl
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With a few minor tweaks, we are able to improve quite a bit the bash startup (from 80ms to 14ms on my old system HP6200 i7 2600)
See the diff below from v3.0.2 on ~/.local/share/omarchy/default/bash. This is mostly checking for interactive shells and delay completions until when it is actually used.
Note I still use day to day zsh (via
chsh /usr/bin/zshcommand along with the incredible https://github.com/romkatv/zsh4humans)Beta Was this translation helpful? Give feedback.
All reactions