태그 보관물: macvim

macvim

Spotlight는 일반적으로 ~ / Applications의 링크를 색인합니까? 통해 MacVim 을 설치 했으며 /usr/local/Cellar/macvim/7.3-66/MacVim.app를

homebrew를 통해 MacVim 을 설치 했으며 /usr/local/Cellar/macvim/7.3-66/MacVim.app를 가리키는 ~ / Applications에 별칭이 생겼습니다.

불행히도 MacVim은 Spotlight 검색에 나타나지 않습니다. 이것이 정상입니까?



답변

실제로는 별칭이 아닌 심볼릭 링크입니다. Spotlight는 시스템 파일로 취급되는 파일에 대한 심볼릭 링크를 색인화하지만 GUI에는 표시하지 않습니다. 별명을 표시하므로 /usr/local/Cellar/macvim/*/MacVim.app 명령 을 Finder에서 / Applications 로 드래그하면 됩니다.

또는 심볼릭 링크를 별칭으로 변환하십시오.

brew linkapps; find ~/Applications -type l | while read f; do osascript -e "tell app \"Finder\" to make new alias file at POSIX file \"/Applications\" to POSIX file \"$(/usr/bin/stat -f%Y "$f")\""; rm "$f"; done

또는 Alfred를 사용하는 경우 기본 검색 결과에 / usr / local / Cellar에 응용 프로그램을 포함하도록 설정할 수 있습니다.


답변