mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
global: Switch the function-declarations to avoid unexpected alias expansions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#! bash oh-my-bash.module
|
||||
# bash completion support for Git.
|
||||
_omb_completion_git_initialize() {
|
||||
function _omb_completion_git_initialize {
|
||||
if ! _omb_util_function_exists __gitdir; then
|
||||
local git_paths path
|
||||
IFS=$'\n' read -r -d '' -a git_paths <<< "$(type -aP git)"
|
||||
|
||||
Reference in New Issue
Block a user