Change HOSTNAME, escaped double quotes

This commit is contained in:
flyingscorpio@ubuntu-desktop 2020-02-28 11:48:36 +01:00
parent 9ccbde896f
commit 6723c95ece

View file

@ -45,7 +45,7 @@ sudo protonvpn c --cc NL
#############################
sudo apt install git
git config --global user.name "$USER@$HOSTNAME"
git config --global user.name "$USER@$(uname -n)"
git config --global user.email "tfranken@protonmail.com"
git config --global alias.ci "commit"
git config --global alias.co "checkout"
@ -58,12 +58,12 @@ git config --global alias.br "branch"
##############################################################################
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-type type='text/plain'>
<glob pattern='*.md'/>
<glob pattern='*.mkd'/>
<glob pattern='*.markdown'/>
<mime-type type=\"text/plain\">
<glob pattern=\"*.md\"/>
<glob pattern=\"*.mkd\"/>
<glob pattern=\"*.markdown\"/>
</mime-type>
</mime-info>" >> ~/.local/share/mime/packages/text-markdown.xml
fi