mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
refactor(plugins): remove old generated completion files
This removes .gitignore plugin files and adds a force-rm of the old completion file, which ignores any errors if the file doesn't exist.
This commit is contained in:
1
plugins/deno/.gitignore
vendored
1
plugins/deno/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
_deno
|
||||
@@ -12,6 +12,9 @@ alias dup='deno upgrade'
|
||||
|
||||
# COMPLETION FUNCTION
|
||||
if (( $+commands[deno] )); then
|
||||
# remove old generated completion file
|
||||
command rm -f "${0:A:h}/_deno"
|
||||
|
||||
ver="$(deno --version)"
|
||||
ver_file="$ZSH_CACHE_DIR/deno_version"
|
||||
comp_file="$ZSH_CACHE_DIR/completions/_deno"
|
||||
|
||||
Reference in New Issue
Block a user