https://github.com/mwmi/clink-carapace
carapace support for clink
https://github.com/mwmi/clink-carapace
carapace clink cmd completion lua
Last synced: 3 months ago
JSON representation
carapace support for clink
- Host: GitHub
- URL: https://github.com/mwmi/clink-carapace
- Owner: mwmi
- Created: 2025-02-03T01:58:18.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-10T12:32:37.000Z (3 months ago)
- Last Synced: 2025-02-10T13:33:44.132Z (3 months ago)
- Topics: carapace, clink, cmd, completion, lua
- Language: Lua
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clink carapace
carapace support for clink
## Installation
download script [`carapace.lua`](https://raw.githubusercontent.com/mwmi/clink-carapace/refs/heads/main/carapace.lua "Right-click and select 'Save As' to save the file") to your `scripts` folder ( run `clink info` to see the script paths ).
## Usage
> Enable carapace argument auto-completion
```cmd
clink set carapace.enable true
```> Exclude commands from carapace completion
```cmd
clink set carapace.exclude scoop;cmd
```## Icon Support
download script [`matchicons.lua`](https://raw.githubusercontent.com/chrisant996/clink-gizmos/refs/heads/main/matchicons.lua "Right-click and select 'Save As' to save the file") to your `scripts` folder.
> Enables icons in file completions
```cmd
clink set matchicons.enable true
```## References
- [clink](https://github.com/chrisant996/clink)
- [clink-gizmos](https://github.com/chrisant996/clink-gizmos)
- [carapace-bin](https://github.com/carapace-sh/carapace-bin)
- [json.lua](https://github.com/rxi/json.lua)