From f6d910254ee7ee196d38dda74bd5a3bab7ba8e0f Mon Sep 17 00:00:00 2001 From: Simon Chan Date: Thu, 31 Oct 2019 16:12:25 +0800 Subject: [PATCH] fix: use dot operator to reload powershell profile --- thefuck/shells/powershell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thefuck/shells/powershell.py b/thefuck/shells/powershell.py index 580578f2..95226d0d 100644 --- a/thefuck/shells/powershell.py +++ b/thefuck/shells/powershell.py @@ -26,7 +26,7 @@ class Powershell(Generic): return ShellConfiguration( content=u'iex "$(thefuck --alias)"', path='$profile', - reload='& $profile', + reload='. $profile', can_configure_automatically=False) def _get_version(self):