Fix a couple small shellcheck errors
diff --git a/thefuck/shells/bash.py b/thefuck/shells/bash.py
index d8a53180a..df972380c 100644
--- a/thefuck/shells/bash.py
+++ b/thefuck/shells/bash.py
@@ -20,8 +20,8 @@ def app_alias(self, alias_name):
                 export TF_HISTORY=$(fc -ln -10);
                 export PYTHONIOENCODING=utf-8;
                 TF_CMD=$(
-                    thefuck {argument_placeholder} $@
-                ) && eval $TF_CMD;
+                    thefuck {argument_placeholder} "$@"
+                ) && eval "$TF_CMD";
                 unset TF_HISTORY;
                 export PYTHONIOENCODING=$TF_PYTHONIOENCODING;
                 {alter_history}
@@ -79,7 +79,7 @@ def how_to_configure(self):
             config = 'bash config'
 
         return self._create_shell_configuration(
-            content=u'eval $(thefuck --alias)',
+            content=u'eval "$(thefuck --alias)"',
             path=config,
             reload=u'source {}'.format(config))
 
diff --git a/thefuck/shells/generic.py b/thefuck/shells/generic.py
index ddd868aed..d7a936cb5 100644
--- a/thefuck/shells/generic.py
+++ b/thefuck/shells/generic.py
@@ -34,8 +34,8 @@ def to_shell(self, command_script):
         return command_script
 
     def app_alias(self, alias_name):
-        return "alias {0}='eval $(TF_ALIAS={0} PYTHONIOENCODING=utf-8 " \
-               "thefuck $(fc -ln -1))'".format(alias_name)
+        return """alias {0}='eval "$(TF_ALIAS={0} PYTHONIOENCODING=utf-8 """ \
+               """thefuck "$(fc -ln -1)")"'""".format(alias_name)
 
     def instant_mode_alias(self, alias_name):
         warn("Instant mode not supported by your shell")

These are unlikely to cause practical issues but after bootstrapping with `fuck; fuck` shellcheck gave me an error in my bashrc.