Macでよく使われるShellコマンド
600 ワード
Sublime Text 2コマンドライン起動の作成
このとき、
PS:
ホスト名の変更hostname
Finder非表示ファイルの表示/非表示
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
このとき、
subl
コマンドを使用してSublime Text 2
を起動できます.参照先:https://www.sublimetext.com/d... PS:
Sublime Text 3
なら、数字を修正すればいいはずです.ホスト名の変更hostname
sudo scutil --set HostName MBP
Finder非表示ファイルの表示/非表示
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder