File tree Expand file tree Collapse file tree 6 files changed +1520
-20
lines changed
Expand file tree Collapse file tree 6 files changed +1520
-20
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Zsh completions for some of the Xcode command line tools. Currently:
77- [ ` plutil ` ] ( https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/plutil.1.html )
88- [ ` xcode ` -select] ( https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html )
99- [ ` xcodebuild ` ] ( https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcodebuild.1.html )
10- - [ ` xcrun ` ] ( https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcrun.1.html ) See [ shims ] ( #shims ) for more info
10+ - [ ` xcrun ` ] ( https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcrun.1.html )
1111- ` strings `
1212- ` swift-demangle `
1313- ` swift `
@@ -25,17 +25,6 @@ brew install keith/formulae/zsh-xcode-completions
2525- pkgutil
2626- pmset
2727
28- ### Shims
29-
30- Unfortunately, because of how ` xcrun ` happens to work, creating
31- completions that also handle the nested completions for programs run
32- through ` xcrun ` (such as ` swift-demangle ` ) has proven to be difficult.
33- To get around this, I have created [ shims] ( bin ) for programs that could
34- use completions. I've also added a homebrew option (` --without-shims ` )
35- if you would like to exclude these from being installed. One
36- disadvantage to this approach is you cannot pass arguments to the
37- ` xcrun ` command while calling a shim.
38-
3928### Resources
4029
4130< https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ all : simctl.txt
2+
3+ % .txt : FORCE
4+ $(MAKE ) " $( basename $@ ) " & > $@
5+
6+ FORCE :
7+
8+ simctl :
9+ xcrun simctl || true
10+ @for command in $$(xcrun simctl | grep '^\t' | awk '{print $$1}' ) ; do \
11+ echo ; \
12+ echo xcrun simctl help $$ command; \
13+ xcrun simctl help $$ command; \
14+ done
15+ @# Undocumented/internal commands:
16+ @echo
17+ xcrun simctl help addphoto
18+ @echo
19+ xcrun simctl help addvideo
20+ @echo
21+ xcrun simctl help pbinfo
22+ @echo
23+ xcrun simctl help notify_post
24+ @echo
25+ xcrun simctl help notify_get_state
26+ @echo
27+ xcrun simctl help notify_set_state
28+ @echo
29+ xcrun simctl help register
30+ @echo
31+ xcrun simctl help unregister
32+ @echo
33+ xcrun simctl help keyboard
34+ @echo
35+ xcrun simctl help monitor
36+ @echo
37+ xcrun simctl help appinfo
38+ @echo
39+ xcrun simctl help listapps
40+ @echo
41+ xcrun simctl help bootstatus
42+ @echo
43+ xcrun simctl help darwinup
44+ @echo
45+ xcrun simctl help disk
46+ @echo
47+ xcrun simctl help runtime
48+ @echo
49+ xcrun simctl help reset
You can’t perform that action at this time.
0 commit comments