Last active
April 8, 2016 08:25
-
-
Save jsrois/2648cb235d0f476f4f2052569ac7742f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
set -x | |
temp_dir=/tmp/install_consolas_and_solarized | |
mkdir -p $temp_dir | |
sudo apt-get install cabextract -y | |
pushd $temp_dir | |
echo "installing consolas" | |
wget http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe | |
cabextract -L -F ppviewer.cab PowerPointViewer.exe | |
cabextract ppviewer.cab | |
fonts_dir=$HOME/.fonts | |
mkdir -p $fonts_dir | |
cp CONSOLA* $fonts_dir | |
git clone https://github.com/solarized/qtcreator-solarized-syntax.git | |
pushd qtcreator-solarized-syntax | |
mkdir -p ~/.config/QtProject/qtcreator/styles | |
cp solarized-*.xml ~/.config/QtProject/qtcreator/styles | |
popd | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment