@@ -153,15 +153,15 @@ __bp_precmd_invoke_cmd() {
153
153
# "precmd_function". This function receives the arguments $1 and $2 for $? and
154
154
# $_, respectively, that will be set for the precmd functions.
155
155
bash_preexec_invoke_precmd_functions () {
156
- local __lastexit =$1 __lastarg =$2
156
+ local lastexit =$1 lastarg =$2
157
157
# Invoke every function defined in our function array.
158
158
local precmd_function
159
159
for precmd_function in " ${precmd_functions[@]} " ; do
160
160
161
161
# Only execute this function if it actually exists.
162
162
# Test existence of functions with: declare -[Ff]
163
163
if type -t " $precmd_function " 1> /dev/null; then
164
- __bp_set_ret_value " $__lastexit " " $__lastarg "
164
+ __bp_set_ret_value " $lastexit " " $lastarg "
165
165
# Quote our function invocation to prevent issues with IFS
166
166
" $precmd_function "
167
167
fi
@@ -274,7 +274,7 @@ __bp_preexec_invoke_exec() {
274
274
# last non-zero exit status from the preexec functions to the variable
275
275
# `preexec_ret_value`. If there is no error, preexec_ret_value is set to `0`.
276
276
bash_preexec_invoke_preexec_functions () {
277
- local __lastexit =$1 __lastarg =$2 __this_command =$3
277
+ local lastexit =$1 lastarg =$2 this_command =$3
278
278
local preexec_function
279
279
local preexec_function_ret_value
280
280
preexec_ret_value=0
@@ -283,9 +283,9 @@ bash_preexec_invoke_preexec_functions() {
283
283
# Only execute each function if it actually exists.
284
284
# Test existence of function with: declare -[fF]
285
285
if type -t " $preexec_function " 1> /dev/null; then
286
- __bp_set_ret_value " $__lastexit " " $__lastarg "
286
+ __bp_set_ret_value " $lastexit " " $lastarg "
287
287
# Quote our function invocation to prevent issues with IFS
288
- " $preexec_function " " $__this_command "
288
+ " $preexec_function " " $this_command "
289
289
preexec_function_ret_value=" $? "
290
290
if [[ " $preexec_function_ret_value " != 0 ]]; then
291
291
preexec_ret_value=" $preexec_function_ret_value "
0 commit comments