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.
Tue, Feb 18, 2020 ve 08:49:37AM -0500 Yves Cloutier napsal(a): # Hello, # I'm on linux and trying to add my fonts directories using # # export OSFONTDIR=/usr/share/fonts/;$HOME/.fonts export OSFONTDIR="/usr/share/fonts/;$HOME/.fonts" Tomáš # # 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. # ___________________________________________________________________________________ # 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 # ___________________________________________________________________________________ Tomáš Hála -------------------------------------------------------------------- Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky Zemědělská 1, CZ-613 00 Brno, tel. +420 545 13 22 28 -------------------------------------------------------------------- http://akela.mendelu.cz/~thala
Hello,
** Yves Cloutier
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.
Thanks for the quick reply.
I added the line to my .bashrc file then from the command did source
~/.bashrc
I will try with quotes when i get home.
On Tue, Feb 18, 2020, 9:08 AM Vladimir Lomov,
Hello, ** Yves Cloutier
[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.
___________________________________________________________________________________ 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
___________________________________________________________________________________
participants (3)
-
Tomas Hala
-
Vladimir Lomov
-
Yves Cloutier