Quoting Chris Bannister (cbannis...@slingshot.co.nz):
> On Fri, May 15, 2015 at 09:49:12PM -0500, David Wright wrote (and corrected
> himself):
> > This conversation made me revisit my own prompt which I have now
> > modified. I thought I'd share it with you in case any part of it
> > should be h
On Fri, May 15, 2015 at 09:49:12PM -0500, David Wright wrote:
> Quoting Thomas H. George (li...@tomgeorge.info):
> > >
> > Your explanation is very helpful, converts the jumble I copied from a
> > website into a logical sequence of instructions. I really appreciate
> > being able to understand the
Quoting David Wright (deb...@lionunicorn.co.uk):
> export PROMPT_COMMAND+=" || echo -ne '\e]0;${HOSTNAME^^}
> $(tty) ${HOSTNAME^^}\a'"
Forgive the typo; that || was in the penultimate version that I
accidentally included. It should of course be ; otherwise the
title only
Quoting Thomas H. George (li...@tomgeorge.info):
> >
> Your explanation is very helpful, converts the jumble I copied from a
> website into a logical sequence of instructions. I really appreciate
> being able to understand the meaning of the prompt.
This conversation made me revisit my own prompt
On Mon, May 04, 2015 at 12:31:15PM -0500, David Wright wrote:
> Quoting Thomas H. George (li...@tomgeorge.info):
> > On Mon, May 04, 2015 at 06:54:40AM +, Bonno Bloksma wrote:
> > > Hi,
> > >
> > > > I entered the following in .bashrc
> > > >
> > > >PS1='\033[01;33m\h:\w\$ \033[00m'
Quoting Thomas H. George (li...@tomgeorge.info):
> On Mon, May 04, 2015 at 06:54:40AM +, Bonno Bloksma wrote:
> > Hi,
> >
> > > I entered the following in .bashrc
> > >
> > >PS1='\033[01;33m\h:\w\$ \033[00m'
> > >
> > > to colorize the prompt (very handy to find the prompt when a
On 5/4/2015 7:57 AM, Thomas H. George wrote:
On Mon, May 04, 2015 at 06:54:40AM +, Bonno Bloksma wrote:
Hi,
I entered the following in .bashrc
PS1='\033[01;33m\h:\w\$ \033[00m'
to colorize the prompt (very handy to find the prompt when a command
fills the console screen with lines of
On Mon, May 04, 2015 at 06:54:40AM +, Bonno Bloksma wrote:
> Hi,
>
> > I entered the following in .bashrc
> >
> >PS1='\033[01;33m\h:\w\$ \033[00m'
> >
> > to colorize the prompt (very handy to find the prompt when a command
> > fills the console screen with lines of text)
> >
> >
On Mon, 4 May 2015 00:02:11 -0600
Bob Proulx wrote:
> Petter Adsen wrote:
> > Brad Rogers wrote:
> > > PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\
> > > [\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
> >
> > Excuse me if this is a dumb question, but what does the
> > "debian_chro
Hi,
> I entered the following in .bashrc
>
>PS1='\033[01;33m\h:\w\$ \033[00m'
>
> to colorize the prompt (very handy to find the prompt when a command
> fills the console screen with lines of text)
>
> The only problem occurs when the next entry is more than one line. In that
> case
Petter Adsen wrote:
> Brad Rogers wrote:
> > PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\
> > [\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
>
> Excuse me if this is a dumb question, but what does the "debian_chroot"
> part (twice) do?
Basic shell substitution. The task there is
On Sat, May 02, 2015 at 11:08:20AM +0200, Petter Adsen wrote:
...
> > PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\
> > [\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
...
> Excuse me if this is a dumb question, but what does the "debian_chroot"
> part (twice) do?
If the debian_chroot
On 2015-05-02, Petter Adsen wrote:
>
> Excuse me if this is a dumb question, but what does the "debian_chroot"
> part (twice) do?
>
It "prompts" (hee hee) you to use a search engine:
http://askubuntu.com/questions/372849/what-does-debian-chrootdebian-chroot-do-in-my-terminal-prompt
--
To UNSU
On Sat, 2 May 2015 11:08:20 +0200
Petter Adsen wrote:
Hello Petter,
>Excuse me if this is a dumb question, but what does the "debian_chroot"
>part (twice) do?
No idea. As I said, I lifted the command (i.e. I didn't write it)
straight from .bashrc. It does what Thomas wants, but I don't
know /
On Fri, 1 May 2015 16:31:16 +0100
Brad Rogers wrote:
> On Fri, 1 May 2015 11:07:46 -0400
> "Thomas H. George" wrote:
>
> Hello Thomas,
>
> >I entered the following in .bashrc
> >
> > PS1='\033[01;33m\h:\w\$ \033[00m'
> >
> >to colorize the prompt (very handy to find the prompt when a
I do like to use a colorized promt to show my running jobs and whether my
AWS creds are in the environment, but I usually use the built in PS2 rather
than create insanely long lines. It took a while to develop that habit,
though, but it works better. You can of course break lines arbitrarily with
a
On 05/01/2015 12:07 PM, Thomas H. George wrote:
> I entered the following in .bashrc
>
>PS1='\033[01;33m\h:\w\$ \033[00m'
>
> to colorize the prompt (very handy to find the prompt when a command
> fills the console screen with lines of text)
>
> The only problem occurs when the next entr
On Fri, 1 May 2015 11:07:46 -0400
"Thomas H. George" wrote:
Hello Thomas,
>I entered the following in .bashrc
>
> PS1='\033[01;33m\h:\w\$ \033[00m'
>
>to colorize the prompt (very handy to find the prompt when a command
>fills the console screen with lines of text)
Lifted from my .bash
I entered the following in .bashrc
PS1='\033[01;33m\h:\w\$ \033[00m'
to colorize the prompt (very handy to find the prompt when a command
fills the console screen with lines of text)
The only problem occurs when the next entry is more than one line. In
that case the entry wraps around
19 matches
Mail list logo