diff --git a/dist/index.js b/dist/index.js index 30ec39f..9dac5b4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -57,11 +57,11 @@ def main [ let p = $plugin.name | str replace -a \ / print $'Registering ($p)' if $useRegister { - print -n 'Executing command:'; print ("'" + $'"register ($p)"' + "'") - nu -c ("'" + $'"register ($p)"' + "'") + print -n 'Executing command:'; print $'"register ($p)"' + nu -c $'"register ($p)"' } else { - print -n 'Executing command:'; print ("'" + $'"plugin add ($p)"' + "'") - nu -c ("'" + $'"plugin add ($p)"' + "'") + print -n 'Executing command:'; print $'"plugin add ($p)"' + nu -c $'"plugin add ($p)"' } } diff --git a/src/plugins.ts b/src/plugins.ts index c9d403e..317627c 100644 --- a/src/plugins.ts +++ b/src/plugins.ts @@ -27,11 +27,11 @@ def main [ let p = $plugin.name | str replace -a \ / print $'Registering ($p)' if $useRegister { - print -n 'Executing command:'; print ("'" + $'"register ($p)"' + "'") - nu -c ("'" + $'"register ($p)"' + "'") + print -n 'Executing command:'; print $'"register ($p)"' + nu -c $'"register ($p)"' } else { - print -n 'Executing command:'; print ("'" + $'"plugin add ($p)"' + "'") - nu -c ("'" + $'"plugin add ($p)"' + "'") + print -n 'Executing command:'; print $'"plugin add ($p)"' + nu -c $'"plugin add ($p)"' } }