:note

brew-caskでQuickLookプラグインをインストール

homebrewにcaskサブコマンドを追加してアプリのインストールをcliでする

phinze/homebrew-cask

brew cask install コマンドでquicklookプラグインをインストールする

sindresorhus/quick-look-plugins

% brew tap phinze/homebrew-cask
% brew install brew-cask
% brew cask install qlcolorcode

==> We need to make Caskroom for the first time at /opt/homebrew-cask/Caskroom
==> We'll set permissions properly so we won't need sudo in the future
Password:
==> Downloading https://qlcolorcode.googlecode.com/files/QLColorCode-2.0.2.tgz
######################################################################## 100.0%
==> Linking QuickLook plugin QLColorCode.qlgenerator to /Users/milligramme/Library/QuickLook/QLColorCode.qlgenerator
==> Success! qlcolorcode installed to /opt/homebrew-cask/Caskroom/qlcolorcode/2.0.2

% brew cask install quicklook-json
==> Downloading http://www.sagtau.com/media/QuickLookJSON.qlgenerator.zip
######################################################################## 100.0%
==> Linking QuickLook plugin QuickLookJSON.qlgenerator to /Users/milligramme/Library/QuickLook/QuickLookJSON.qlgenerator
==> Success! quicklook-json installed to /opt/homebrew-cask/Caskroom/quicklook-json/latest

% brew cask uninstall qlcolorcode
==> Removing QuickLook plugin link: /Users/milligramme/Library/QuickLook/QLColorCode.qlgenerator

ユーザのQuickLookフォルダにリンクしてくれる

 
comments powered by Disqus
back to top