This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open a Swift Package in the current directory | |
alias opk='open Package.swift' | |
# Open an Xcode project in the current directory | |
openproj() { | |
local proj | |
proj=$(find . -maxdepth 1 -name "*.xcodeproj" | head -n 1) | |
if [[ -n "$proj" ]]; then | |
open "$proj" | |
else |