global: Switch the function-declarations to avoid unexpected alias expansions

This commit is contained in:
Koichi Murase
2023-02-10 00:38:56 +09:00
parent 0368b46c61
commit 59f6ef145b
74 changed files with 543 additions and 543 deletions

View File

@@ -1,7 +1,7 @@
#! bash oh-my-bash.module
# Bash completion support for the 'dirs' plugin (commands G, R).
_dirs-complete() {
function _dirs-complete {
local CURRENT_PROMPT="${COMP_WORDS[COMP_CWORD]}"
# parse all defined shortcuts from ~/.dirs