From 689c8e29e4a83d0a6c399f5a6c7552aa44d76663 Mon Sep 17 00:00:00 2001 From: Lotte Steenbrink Date: Tue, 15 Oct 2019 21:26:33 +0200 Subject: [PATCH 1/2] README.md: add remark that some commands don't work w/o ruby --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 87eccdb..27281f0 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ to your `.bashrc` or `.zshrc`: `[ -s "$HOME/.scm_breeze/scm_breeze.sh" ] && source "$HOME/.scm_breeze/scm_breeze.sh"` -**Note:** SCM Breeze performs much faster if you have ruby installed. +**Note:** You need to install ruby for some SCM Breeze commands to work. This also improves performance. See [ruby-lang.org](https://www.ruby-lang.org/en/documentation/installation/) for installation information. ### File Shortcuts From 50ccfd9e971320f5ee70ba60ac746ec5a8ae094c Mon Sep 17 00:00:00 2001 From: Test User Date: Tue, 4 Feb 2020 13:23:25 -0500 Subject: [PATCH 2/2] Fix shell wrapping for exes with space in path. I experienced this using VS Code in WSL, the `code` CLI is in the Windows `PATH` that has a space in my user name. Fixes #294. --- lib/git/shell_shortcuts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/shell_shortcuts.sh b/lib/git/shell_shortcuts.sh index 54f79ce..6a068c2 100644 --- a/lib/git/shell_shortcuts.sh +++ b/lib/git/shell_shortcuts.sh @@ -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