Re: Change Console Prompt?
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 > > > wrote: > > Good idea. Thanks! > > > > > > On Wed, Apr 24, 2013 at 12:37 PM, Mike Abner > > > > 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, > >> ga...@crowdly.comwrote: > >> > >> 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 > >> heroku+un...@googlegroups.com > >> 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 heroku+un...@googlegroups.com . > >> > >> 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 > >> heroku+un...@googlegroups.com > >> 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 > >> heroku+un...@googlegroups.com . > >> > >> 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 > > heroku+un...@googlegroups.com > > 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 heroku+un...@googlegroups.com . > > 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 heroku+unsubscr...@googlegroups.com 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 heroku+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Change Console Prompt?
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 wrote: > Good idea. Thanks! > > > On Wed, Apr 24, 2013 at 12:37 PM, Mike Abner 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, ga...@crowdly.com 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 >> heroku+unsubscr...@googlegroups.com >> 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 heroku+unsubscr...@googlegroups.com. >> >> 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 >> heroku+unsubscr...@googlegroups.com >> 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 >> heroku+unsubscr...@googlegroups.com. >> >> 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 > heroku+unsubscr...@googlegroups.com > 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 heroku+unsubscr...@googlegroups.com. > 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 heroku+unsubscr...@googlegroups.com 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 heroku+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Change Console Prompt?
Good idea. Thanks! On Wed, Apr 24, 2013 at 12:37 PM, Mike Abner 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, ga...@crowdly.com 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 > heroku+unsubscr...@googlegroups.com > 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 heroku+unsubscr...@googlegroups.com. > > 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 > heroku+unsubscr...@googlegroups.com > 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 > heroku+unsubscr...@googlegroups.com. > 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 heroku+unsubscr...@googlegroups.com 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 heroku+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Change Console Prompt?
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, ga...@crowdly.com 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 > heroku+unsubscr...@googlegroups.com > (mailto:heroku+unsubscr...@googlegroups.com) > 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 heroku+unsubscr...@googlegroups.com > (mailto:heroku+unsubscr...@googlegroups.com). > 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 heroku+unsubscr...@googlegroups.com 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 heroku+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Change Console Prompt?
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 heroku+unsubscr...@googlegroups.com 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 heroku+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Change Console Prompt?
You'll probably need to create your own plugin for the heroku gem to allow for that flexibility. Check out http://herocutter.heroku.com/ for a couple of examples of plugins that customize the heroku console. - Matt Buck On Sat, Mar 13, 2010 at 6:27 AM, 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 post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Change Console Prompt?
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 post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.