[Mac] howdoi

OS/Mac 2014. 8. 21. 11:05

링크: https://github.com/gleitz/howdoi?body=


명령어로 쉽게 쉽게 찾아볼때?


홈페이지 소개는 "instant coding answers via the command line" 이렇습니다.


전 로컬에 homebrew가 설치되어 있어서 아래와 같이 설치 했습니다.


#기본적으로 Hombrew와 Python이 설치되어 있어야 합니다.


$ brew install https://raw.github.com/gleitz/howdoi/master/howdoi.rb


그랬더니 아래와 같은 에러가 ㅡㅡ;


> ==> python setup.py install

>

> http://peak.telecommunity.com/EasyInstall.html

>

> Please make the appropriate changes for your system and try again.


다행이 홈페이지에 처리 방법이 나와 있었습니다.


#권한 문제(?)

sudo chmod -R go+w /Library/Python/2.7/site-packages/


#권한 문제 해결하고 다시 설치

brew install https://raw.github.com/gleitz/howdoi/master/howdoi.rb


사용방법

$ howdoi format date bash

> DATE=`date +%Y-%m-%d`



posted by 뚱2