Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2016 22:08:50 +0100
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        freebsd-stable@freebsd.org
Cc:        Brandon Allbery <allbery.b@gmail.com>
Subject:   Re: output to file different than console. (ssh and zfs )
Message-ID:  <56E1E262.5000504@gmail.com>
In-Reply-To: <CAKFCL4VZNRBhz2C-g8fESESuOkMJZiA6YiY5oOcfZnSOZGbV2Q@mail.gmail.com>
References:  <56E1B925.5060105@gmail.com> <CAKFCL4UON30j1-wNLUnbzmQRKxmhPUL8zOS7uaGo=Ph1Kq19pg@mail.gmail.com> <56E1BFD6.60906@gmail.com> <CAKFCL4VZNRBhz2C-g8fESESuOkMJZiA6YiY5oOcfZnSOZGbV2Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Op 10/03/16 om 19:43 schreef Brandon Allbery:
>
> On Thu, Mar 10, 2016 at 1:41 PM, Johan Hendriks
> <joh.hendriks@gmail.com <mailto:joh.hendriks@gmail.com>> wrote:
>
>     mytitle
>
>
> if ($?prompt) mytitle
>
>
> -- 
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b@gmail.com <mailto:allbery.b@gmail.com>                      
>            ballbery@sinenomine.net <mailto:ballbery@sinenomine.net>
> unix, openafs, kerberos, infrastructure, xmonad      
>  http://sinenomine.net
If I change mytitle to if ($?prompt) mytitle I get the following error.
mytitle: command not found.

This is how I have set it.
alias mytitle 'printf "\033]0;$HOST\a"'
if ($?prompt) mytitle

regards,
Johan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56E1E262.5000504>