Merge pull request #299 from jameskeane/wsl-spaces-fix
Fix shell wrapping for exes with space in path.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user