mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Disable completion of cache subcommand (#2399)
* Disable completion of `cache` subcommand * Fully removed completion code for `cache` * Add to changelog
This commit is contained in:
1 parent
e19bebc1f6
commit
b6b9d3a629
5 files changed
+18
-20
No files matched your search
Vendored
+3
-2
@@ -184,6 +184,7 @@ _bat() {
|
||||
fi
|
||||
|
||||
_filedir
|
||||
((cword == 1)) && COMPREPLY+=($(compgen -W cache -- "$cur"))
|
||||
|
||||
|
||||
## Completion of the 'cache' command itself is removed for better UX
|
||||
## See https://github.com/sharkdp/bat/issues/2085#issuecomment-1271646802
|
||||
} && complete -F _bat {{PROJECT_EXECUTABLE}}
|
||||
Reference in new issue
Block a user