output to file different than console. (ssh and zfs )
Johan Hendriks
joh.hendriks at gmail.com
Thu Mar 10 21:08:54 UTC 2016
Op 10/03/16 om 19:43 schreef Brandon Allbery:
>
> On Thu, Mar 10, 2016 at 1:41 PM, Johan Hendriks
> <joh.hendriks at gmail.com <mailto:joh.hendriks at gmail.com>> wrote:
>
> mytitle
>
>
> if ($?prompt) mytitle
>
>
> --
> brandon s allbery kf8nh sine nomine
> associates
> allbery.b at gmail.com <mailto:allbery.b at gmail.com>
> ballbery at sinenomine.net <mailto:ballbery at 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
More information about the freebsd-stable
mailing list