Specify -c when erasing Fish completions

This commit is contained in:
Ajeet D'Souza 2021-10-22 00:27:35 +05:30
parent 07ce5a5959
commit ad354cf849
2 changed files with 8 additions and 2 deletions

View File

@ -7,6 +7,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Fixed
- Fish: error erasing completions on older versions.
## [0.7.7] - 2021-10-21
### Added
@ -15,7 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fix compile errors due to broken `clap` dependency.
- Compile error with `clap v3.0.0-beta.5`.
## [0.7.7] - 2021-10-15

View File

@ -123,7 +123,7 @@ end
__zoxide_unset {{cmd}}
alias {{cmd}}=__zoxide_z
complete -e {{cmd}}
complete -c {{cmd}} -e
complete -c {{cmd}} -f -a '(__zoxide_z_complete)'
__zoxide_unset {{cmd}}i