Consolas install script.
This commit is contained in:
parent
03f4588f75
commit
c810b638e3
@ -25,6 +25,7 @@ cd ~/dotfiles && git pull && ./sync.py
|
||||
* Dotfiles syncronization (`sync.py`).
|
||||
* Sensible OS X defaults (`setup/osx.sh`).
|
||||
* Sublime Text 2 settings syncronization and packages autoinstall (`setup/sublime-settings.sh` and `setup/sublime-packages.sh`).
|
||||
* Consolas font install script (`setup/consolas.sh`)
|
||||
* Bash4 install script (`setup/bash.sh`)
|
||||
* Homebrew bootstrap (`setup/brew.sh`)
|
||||
|
||||
|
13
setup/consolas.sh
Executable file
13
setup/consolas.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
# Press "Intall font" button when font dialog opens
|
||||
# Based on http://blog.ikato.com/post/15675823000/how-to-install-consolas-font-on-mac-os-x
|
||||
|
||||
brew install cabextract
|
||||
TMPDIR=`mktemp -d` && {
|
||||
cd $TMPDIR
|
||||
curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe
|
||||
cabextract PowerPointViewer.exe
|
||||
cabextract ppviewer.cab
|
||||
open -W CONSOLA*.TTF
|
||||
rm -rf $TMPDIR
|
||||
}
|
Loading…
Reference in New Issue
Block a user