Merge pull request #299 from jameskeane/wsl-spaces-fix

Fix shell wrapping for exes with space in path.
This commit is contained in:
Will Owens
2022-03-23 18:03:24 -04:00
committed by GitHub

View File

@@ -82,7 +82,7 @@ if [ "$shell_command_wrapping_enabled" = "true" ] || [ "$bash_command_wrapping_e
if [ "${scmbDebug:-}" = "true" ]; then echo "SCMB: $cmd is an executable file"; fi
# Otherwise, command is a regular script or binary,
# and the full path can be found with 'find_binary' function
alias $cmd="exec_scmb_expand_args $(find_binary $cmd)";;
alias $cmd="exec_scmb_expand_args '$(find_binary $cmd)'";;
esac
done
# Clean up