Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scriptingosx/mac-zsh-completions
macOS specific additional completion definitions for Zsh.
https://github.com/scriptingosx/mac-zsh-completions
mac macadmin macos terminal zsh zsh-completion zsh-completions
Last synced: 27 days ago
JSON representation
macOS specific additional completion definitions for Zsh.
- Host: GitHub
- URL: https://github.com/scriptingosx/mac-zsh-completions
- Owner: scriptingosx
- License: apache-2.0
- Created: 2019-07-09T12:24:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-01T06:04:11.000Z (over 2 years ago)
- Last Synced: 2024-11-06T06:41:19.851Z (3 months ago)
- Topics: mac, macadmin, macos, terminal, zsh, zsh-completion, zsh-completions
- Language: Shell
- Size: 43.9 KB
- Stars: 183
- Watchers: 9
- Forks: 12
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# macOS zsh Completions
Some zsh completion files for macOS specific commands and third party tools.
Pull requests and contributions are welcome!
## Setup and Installation
To use mac-zsh-completions on your Mac, follow these steps:
- download the project zip or `git clone` the project
- in your `.zshrc` (or other zsh configuration file) add the full path to the `mac-zsh-completions/completions` directory to the `fpath`, e.g.```zsh
fpath=( ~/Projects/mac-zsh-completions/completions $fpath )
```- the command to load `compinit` should come _after_ modifying the `fpath` in your `.zshrc`
- open a new Terminal window to get the new completions
- sometimes (rarely) you may have to delete the `~/.zcompdump` file
```zsh
% rm ~/.zcompdump
% compinit
```- remember to regularly re-download or `git pull` for new completions and updates
### Install via [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh/)
```zsh
git clone [email protected]:scriptingosx/mac-zsh-completions.git "$ZSH_CUSTOM/plugins/mac-zsh-completions"
```- Add to your `~/.zshrc` plugins array `plugins=(... mac-zsh-completions)`
- Run `source ~/.zshrc` or restart your shell to activate## Comments and Discussion
Aside from issues and pull request, I suggest the `#zsh` channel on the [MacAdmins Slack](http://macadmins.org) for discussion.