Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
iOS Development
Terminal is giving me an invisible prompt
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="graffist" data-source="post: 1467736" data-attributes="member: 282114"><p>Apparently it's got somehting to do with this block of code. I'm not sure what it could be though>..</p><p></p><p># Load the theme</p><p>if [ "$ZSH_THEME" = "random" ]</p><p> then</p><p> themes=($ZSH/themes/*zsh-theme)</p><p> N=${#themes[@]}</p><p> ((N=(RANDOM%N)+1))</p><p> RANDOM_THEME=${themes[$N]}</p><p> source "$RANDOM_THEME"</p><p> echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."</p><p> else</p><p> if [ ! "$ZSH_THEME" = "" ]</p><p> then</p><p> if [ -f "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme" ]</p><p> then</p><p> source "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme"</p><p> else</p><p> source "$ZSH/themes/$ZSH_THEME.zsh-theme"</p><p> fi</p><p> fi</p><p> fi</p><p></p><p></p><p>^ I tried edited that to be easier to see but it didn't work.</p></blockquote><p></p>
[QUOTE="graffist, post: 1467736, member: 282114"] Apparently it's got somehting to do with this block of code. I'm not sure what it could be though>.. # Load the theme if [ "$ZSH_THEME" = "random" ] then themes=($ZSH/themes/*zsh-theme) N=${#themes[@]} ((N=(RANDOM%N)+1)) RANDOM_THEME=${themes[$N]} source "$RANDOM_THEME" echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..." else if [ ! "$ZSH_THEME" = "" ] then if [ -f "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme" ] then source "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme" else source "$ZSH/themes/$ZSH_THEME.zsh-theme" fi fi fi ^ I tried edited that to be easier to see but it didn't work. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
iOS Development
Terminal is giving me an invisible prompt
Top