Use shell_command_wrapping_enabled, since the work was done for Zsh compatibility

This commit is contained in:
Nathan Broadbent
2012-08-16 00:36:22 +12:00
parent 8fcf8e8411
commit 9ef8a39409
2 changed files with 4 additions and 4 deletions

View File

@@ -181,7 +181,7 @@ fi
# Wrap common commands with numeric argument expansion.
# Prepends everything with exec_scmb_expand_args,
# even if commands are already aliases or functions
if [[ "$bash_command_wrapping_enabled" = "true" ]]; then
if [ "$shell_command_wrapping_enabled" = "true" ] || [ "$bash_command_wrapping_enabled" = "true" ]; then
# Do it in a function so we don't bleed variables
function _git_wrap_commands() {
# Define 'whence' for bash, to get the value of an alias