From 4928e8a886ac0de0d459242bde50d31c7bfdbb06 Mon Sep 17 00:00:00 2001
From: Michael Aaron Murphy <mmstickman@gmail.com>
Date: Thu, 26 Oct 2017 10:00:15 -0400
Subject: [PATCH] Fix #554 Closes #554

---
 src/shell/completer.rs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/shell/completer.rs b/src/shell/completer.rs
index 1f8f37c7..68a21725 100644
--- a/src/shell/completer.rs
+++ b/src/shell/completer.rs
@@ -115,7 +115,10 @@ fn escape(input: &str) -> String {
             | b'>'
             | b';'
             | b'"'
-            | b'\'' => output.push(b'\\'),
+            | b'\''
+            | b'#'
+            | b'^'
+            | b'*' => output.push(b'\\'),
             _ => (),
         }
         output.push(character);
-- 
GitLab