From: Vladimir Lomov <lomov.vl@yandex.ru>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: simplefonts directory
Date: Tue, 18 Feb 2020 22:00:06 +0800 [thread overview]
Message-ID: <20200218140006.GA892@smoon.bkoty.ru> (raw)
In-Reply-To: <CAGW=J5e-mFKgVZVXwtBvbDrC1qMTM4d07DU-k5yL_QsGebjvag@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 909 bytes --]
Hello,
** Yves Cloutier <yves.cloutier@gmail.com> [2020-02-18 08:49:37 -0500]:
> Hello,
> I'm on linux and trying to add my fonts directories using
> export OSFONTDIR=/usr/share/fonts/;$HOME/.fonts
> however when I do, I get the following message:
> bash: /home/drifter/.fonts: Is a directory
> I'm not what I'm doing wrong or why it's not liking this. Any pointers
> would be appreciated.
Use double quotes:
export OSFONTDIR="/usr/share/fonts/;$HOME/.fonts"
P.S. You may be interested to read bash scripting guide, but in short the
semicolon is used in shell (bash, zsh) to separate two or more commands in a
row, so your line was interpreted by a shell (I assume that it is bash) like
1 command: export OSFONTDIR=/usr/share/fonts
2 command: $HOME/.fonts
so indeed the $HOME/.fonts is a directory.
---
WBR, Vladimir Lomov
--
If all else fails, lower your standards.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-02-18 14:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAGW=J5cnsk3_Q1xs_p2CLY9nxYd+jKNdMmz=L3UhEmms9K3amg@mail.gmail.com>
2020-02-18 13:49 ` Yves Cloutier
2020-02-18 13:57 ` Tomas Hala
2020-02-18 14:00 ` Vladimir Lomov [this message]
2020-02-18 19:14 ` Yves Cloutier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200218140006.GA892@smoon.bkoty.ru \
--to=lomov.vl@yandex.ru \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).