mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-14 05:10:59 +01:00
add gebug plugin
This commit is contained in:
14
plugins/gebug/gebug.plugin.zsh
Normal file
14
plugins/gebug/gebug.plugin.zsh
Normal file
@@ -0,0 +1,14 @@
|
||||
# Autocompletion for Gebug.
|
||||
#
|
||||
if (( $+commands[gebug] )); then
|
||||
__GEBUG_COMPLETION_FILE="${ZSH_CACHE_DIR}/gebug_completion"
|
||||
|
||||
if [[ ! -f $__GEBUG_COMPLETION_FILE ]]; then
|
||||
gebug completion zsh >! $__GEBUG_COMPLETION_FILE
|
||||
fi
|
||||
|
||||
[[ -f $__GEBUG_COMPLETION_FILE ]] && source $__GEBUG_COMPLETION_FILE
|
||||
|
||||
unset __GEBUG_COMPLETION_FILE
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user