Change indentation for MIME
This commit is contained in:
parent
4634c857b4
commit
558e2d5cd8
1 changed files with 8 additions and 8 deletions
|
@ -100,18 +100,18 @@ git config --global alias.br "branch"
|
||||||
# Add MIME type for reading .md files in Firefox (need to add extension too) #
|
# Add MIME type for reading .md files in Firefox (need to add extension too) #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
echo "Adding MIME type for .md files in Firefox"
|
echo "Adding MIME type for .md files in Firefox..."
|
||||||
echo "${ORANGE}Remember to install the Firefox extension for it to work${NC}"
|
echo "${ORANGE}Remember to install the Firefox extension for it to work${NC}"
|
||||||
|
|
||||||
if [ -e ~/.local/share/mime/packages/text-markdown.xml ]; then
|
if [ -e ~/.local/share/mime/packages/text-markdown.xml ]; then
|
||||||
echo "<?xml version=\"1.0\"?>
|
echo "<?xml version=\"1.0\"?>
|
||||||
<mime-info xmlns=\"http://www.freedesktop.org/standards/shared-mime-info\">
|
<mime-info xmlns=\"http://www.freedesktop.org/standards/shared-mime-info\">
|
||||||
<mime-type type=\"text/plain\">
|
<mime-type type=\"text/plain\">
|
||||||
<glob pattern=\"*.md\"/>
|
<glob pattern=\"*.md\"/>
|
||||||
<glob pattern=\"*.mkd\"/>
|
<glob pattern=\"*.mkd\"/>
|
||||||
<glob pattern=\"*.markdown\"/>
|
<glob pattern=\"*.markdown\"/>
|
||||||
</mime-type>
|
</mime-type>
|
||||||
</mime-info>" > ~/.local/share/mime/packages/text-markdown.xml
|
</mime-info>" > ~/.local/share/mime/packages/text-markdown.xml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/bin/bash ~/SetupCockpit/separator.sh
|
/bin/bash ~/SetupCockpit/separator.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue