keith / zsh-xcode-completions Goto Github PK
View Code? Open in Web Editor NEWZsh completion for the Xcode command line tools
License: MIT License
Zsh completion for the Xcode command line tools
License: MIT License
It looks like package has installed ok, but still there are no completions.
I tried to recreate .zcompdump
, no luck.
Here's my .zshrc
:
#!/bin/zsh
#zmodload zsh/zprof
DEFAULT_USER=$(whoami)
export NVM_LAZY_LOAD=true
#export NVM_NO_USE=true
export NVM_DIR="$HOME/.nvm"
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
source "$(brew --prefix)/share/antigen/antigen.zsh"
antigen use oh-my-zsh
antigen bundle git
antigen bundle lukechilds/zsh-better-npm-completion
antigen bundle lukechilds/zsh-nvm
antigen bundle keith/zsh-xcode-completions
antigen bundle zsh-users/zsh-completions
antigen bundle docker
antigen bundle zsh-users/zsh-syntax-highlighting
antigen theme agnoster
antigen apply
#zprof
Someone pointed me here as I was complaining about the lack of bash completions (yes, I'm a lowly bash user) for xcrun simctl
.
Anyway, apple added xcrun devicectl
commands with xcode 15. The xcrun devicectl
commands should (hopefully) ease the need for ios-deploy
or pymobiledevice3
.
We should add zsh completions for it!
Hi!
This project looks very cool. Thank you for it.
Do you have something against adding this project to ohmyzsh
? This will let users of Oh My Zsh very easily use it:
plugins=(git brew docker zsh-xcode-completions)
Alternatively, there already is an xcode plugin in Oh My Zsh, but it doesn't include shell completions. So instead of creating a new plugin, completions from this project could be added to the xcode
plugin.
The command named xcodebuild
update to a new version since Xcode 8.3 was released!
-exportOptionsPlist
is a newer option which was added to xcodebuild
when Xcode 8.3 was released , and -exportFormat
is deprecated now!
Can you update this repo to compatible with the newer xcodebuild
?
I'm sure I successfully installed in /usr/local/Cellar/zsh-xcode-completions/1.2.0/
, should I need config otherwhere?
In this project, the _arguments
function is generally given an argument completion in the form of:
*: :->action
Why is the message a single space?
Currently, when I do xcodebuild -<TAB>
, I get 162 lines of output. The output consists of all options, plus their descriptions being listed on their own line with a --
prefix, plus a bunch of blank lines, and all of this gets repeated three times.
When I changed this line of _xcodebuild
to:
*::->actions
the use of an empty message, instead of one space, caused the tab completion of -
options to work as expected.
I'm using zsh version 5.0.5.
Thanks for sharing this project!
Is it possible to make the actions for -project
and -workspace
fall back to recursive globs if there are no matches for globs in the current directory? The repo I work on has more than one .xcodeproj
/.xcworkspace
, and they're structured into nested directories.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.