Add zed completions (#10487)

This commit is contained in:
Klaus Hipp 2024-05-09 22:25:41 +02:00 committed by GitHub
parent a7bde3921b
commit 5524b46181
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1 @@
complete -c zed-preview -w zed

View file

@ -0,0 +1,7 @@
complete -c zed -s w -l wait -d "Wait for all of the given paths to be opened/closed before exiting"
complete -c zed -s a -l add -d "Add files to the currently open workspace"
complete -c zed -s n -l new -d "Create a new workspace"
complete -c zed -s v -l version -d "Print Zed's version and the app path"
complete -c zed -s b -l bundle-path -d "Custom Zed.app path" -r
complete -c zed -l dev-server-token -d "Run zed in dev-server mode" -r
complete -c zed -s h -l help -d "Print help (see a summary with '-h')"