Skip to content

Commit

Permalink
try echo-ing out command without single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
crstamps2 committed May 30, 2023
1 parent c1cd1a8 commit 1ec771a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/shared.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
function plugin_prompt() {
if [[ -z "${HIDE_PROMPT:-}" ]] ; then
echo -ne '\033[90m$\033[0m' >&2
for arg in "${@}" ; do
if [[ $arg =~ [[:space:]] ]] ; then
echo -n " '$arg'" >&2
else
echo -n " $arg" >&2
fi
done
echo -n " $arg" >&2
echo >&2
fi
}
Expand Down

0 comments on commit 1ec771a

Please sign in to comment.