From 98c44fcc1e19b52d5824244594e60a622806e0a0 Mon Sep 17 00:00:00 2001 From: Ricardo Lima Date: Sat, 21 Apr 2018 21:55:42 -0400 Subject: [PATCH] Fix quoting in the Explain plugin Fixes bug where Bash prints a "command not found" message when the function is run, due to incorrect quoting of the argument to the meta function example. --- plugins/available/explain.plugin.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/available/explain.plugin.bash b/plugins/available/explain.plugin.bash index d57b78e2..1fb38bdd 100644 --- a/plugins/available/explain.plugin.bash +++ b/plugins/available/explain.plugin.bash @@ -5,7 +5,7 @@ explain () { about 'explain any bash command via mankier.com manpage API' param '1: Name of the command to explain' example '$ explain # interactive mode. Type commands to explain in REPL' - example '$ explain 'cmd -o | ...' # one quoted command to explain it.' + example '$ explain '"'"'cmd -o | ...'"'"' # one quoted command to explain it.' group 'explain' if [ "$#" -eq 0 ]; then