-
-
Notifications
You must be signed in to change notification settings - Fork 673
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
oh my bash fails to start when start new terminal session #395
Comments
How does it fail? Could you provide a description? Or a screen capture might be helpful. |
@akinomyoga hi! I updated the issue, missclicked and created an issue instead of describe something:) |
When I installed it, it worked until I restarted my terminal. |
Thanks for the description. I don't have an idea how this could happen. One possibility is that there is an infinite loop somewhere in the Bash configuration, so the chain of Bash processes eats up the computational resource. Could you give us the full content of your |
yep, sure
|
OK. I don't see the problem here. Next question:
|
If it doesn't matter, maybe you can also paste the full contents of your |
Yep, I just changed OSH_THEME to "agnoster".
|
oh-my-bash created |
OK, your
--- a.bashrc^I2023-02-09 23:35:21.763047687 +0900
+++ b.bashrc^I2023-02-09 23:35:43.674059793 +0900
@@ -69,9 +69,9 @@
# Example format: completions=(ssh git bundler gem pip pip3)
# Add wisely, as too many completions slow down shell startup.
completions=(
- git
- composer
- ssh
+ # git
+ # composer
+ # ssh
)
# Which aliases would you like to load? (aliases can be found in ~/.oh-my-bash/aliases/*)
@@ -79,7 +79,7 @@
# Example format: aliases=(vagrant composer git-avh)
# Add wisely, as too many aliases slow down shell startup.
aliases=(
- general
+ # general
)
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-bash/plugins/*)
@@ -87,8 +87,8 @@
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
- git
- bashmarks
+ # git
+ # bashmarks
)
# Which plugins would you like to conditionally load? (plugins can be found in ~/.oh-my-bash/plugins/*) |
nah, the same
|
Thanks for checking. Then, the
|
nope the same |
Does it mean you also commented out
|
OK! There seems to be an infinite loop somewhere.
$ PS4='+${FUNCNAME-(global)}: '; set -x
$ source "$OSH"/oh-my-bash.sh |
Wow...
$ PS4='+${FUNCNAME-(global)}: '; set -x
$ source "$OSH"/oh-my-bash.sh |& cat -v |
Q5
edit by @akinomyoga: I put the long output in the |
related to Q5 and this repeats infinitely
|
Thanks! Hmm, this seems to imply that
$ type -a echo
$ (shopt -s extdebug; declare -F echo) |
|
OK.
This line (.oh-my-bash/lib/base.sh:293) corresponds to the function definition of
$ alias passgen |
ha! |
@akinomyoga thank you so much for your help and time! |
Thanks! I now switched all the function declarations to use the form |
@akinomyoga the last one question FYI I insatalled |
So, according to the
I don't think just installing the font into the system is sufficient, but you need to specify it for iTerm2 in its settings. By the way, after updating to the latest version of oh-my-bash, now I think you can restore your alias, |
YOU ARE AWESOME |
Sorry, I have carefully looked at it and noticed that this is not the right page. I think you can reference the following page instead:
|
Oh, great! |
Thank you again! |
You're the best:) |
Thanks |
Hi!
I installed https://ohmybash.nntoan.com/ using command from the website.
I modified by bash_profile as it described in manual.
my sys parameters
I also use iTerm2
error is
The text was updated successfully, but these errors were encountered: