THANKS. I'm going to try this. Has anyone tried it yet? I often change the background color of the terminal and change the title of the tab & the terminal window... and then get kicked out of heroku rails console and forget and type in rails c. then I'm in trouble because I've started local rails c instead of heroku run console. You'd think I'd notice it because I have pry locally, and my command prompt is irb on heroku. Need a better way. I wish I could have a terminal window that was ONLY FOR HEROKU and wouldn't let me type in local commands! (I should be forced to open a new window for local commands.)
On Wednesday, April 24, 2013 9:57:09 AM UTC-7, John Pignata wrote: > > This made the rounds a few weeks ago: > http://archslide.com/2013/01/environment-name-in-console-prompt/. > Seems like it should work though I haven't attempted to customize the > prompts on any of our apps. > > -jp > > On Wed, Apr 24, 2013 at 12:46 PM, Galen Sanford > <[email protected]<javascript:>> > wrote: > > Good idea. Thanks! > > > > > > On Wed, Apr 24, 2013 at 12:37 PM, Mike Abner > > <[email protected]<javascript:>> > wrote: > >> > >> the simplest solution is to rename the tab you are using in your > terminal. > >> On my mac I use iTerm2 and it's a simple command-i to open up the tab > title > >> editor and all you have to do is type a new name, hit enter, then > escape and > >> it's there. > >> > >> Not as "pretty", but it works just as well for me. > >> > >> On Wednesday, April 24, 2013 at 9:35 AM, > >> [email protected]<javascript:>wrote: > >> > >> Did you ever do anything / discover anything with this? I'm also > running > >> into the consoles-open-for-multiple-apps situation. > >> > >> Best, > >> Galen > >> > >> On Saturday, March 13, 2010 7:27:45 AM UTC-5, Ray wrote: > >> > >> Hi > >> > >> Not being a true IRB the Heroku console doesn't seem to respond to the > >> normal techniques for customising the prompt. I sometimes have > >> multiple consoles open on different apps and would love to be able to > >> customise the prompt to help me see which app I'm talking to. > >> > >> I Googled and searched this group, expecting to find an immediate > >> solution to what I thought would be a trivial problem, but found > >> nothing! Has anyone done this before? > >> > >> Cheers > >> > >> Ray > >> > >> -- > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "Heroku" group. > >> > >> To unsubscribe from this group, send email to > >> [email protected] <javascript:> > >> For more options, visit this group at > >> http://groups.google.com/group/heroku?hl=en_US?hl=en > >> > >> --- > >> You received this message because you are subscribed to the Google > Groups > >> "Heroku Community" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to [email protected] <javascript:>. > >> > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > >> > >> > >> -- > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "Heroku" group. > >> > >> To unsubscribe from this group, send email to > >> [email protected] <javascript:> > >> For more options, visit this group at > >> http://groups.google.com/group/heroku?hl=en_US?hl=en > >> > >> --- > >> You received this message because you are subscribed to a topic in the > >> Google Groups "Heroku Community" group. > >> To unsubscribe from this topic, visit > >> https://groups.google.com/d/topic/heroku/OsPDlGjfb00/unsubscribe?hl=en. > > >> To unsubscribe from this group and all its topics, send an email to > >> [email protected] <javascript:>. > >> > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > > > > > > -- > > -- > > You received this message because you are subscribed to the Google > > Groups "Heroku" group. > > > > To unsubscribe from this group, send email to > > [email protected] <javascript:> > > For more options, visit this group at > > http://groups.google.com/group/heroku?hl=en_US?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "Heroku Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
