Skip to content

Instantly share code, notes, and snippets.

@tamaki-shingo
Created September 16, 2018 13:57
Show Gist options
  • Save tamaki-shingo/8a5db7bbf1f1317a74417aebf6a88255 to your computer and use it in GitHub Desktop.
Save tamaki-shingo/8a5db7bbf1f1317a74417aebf6a88255 to your computer and use it in GitHub Desktop.
It is alias for open by xcode using path of `xcode-select -p`.
alias xcode='xcode-select -p | cut -d '/' -f3 | xargs -I{} open -a {} $1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment