We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83a519d commit c5caae0Copy full SHA for c5caae0
completion/available/aliases.completion.bash
@@ -52,6 +52,10 @@ function _bash-it-component-completion-callback-on-init-aliases() {
52
if [[ "$aliasCommandFunction" != "_${namespace}::"* ]]; then
53
continue
54
fi
55
+
56
+ # Remove existing completion. It will be replaced by the new one. We need to
57
+ # delete it in case the new alias does not support having completion added.
58
+ complete -r "$alias_name"
59
60
61
alias_defn="${line#*=\'}" # alias definition
0 commit comments