From 9381cfefa5bf3d355fbd754197159e4052849f80 Mon Sep 17 00:00:00 2001 From: Simon Chan Date: Sun, 3 Nov 2019 02:06:17 +0800 Subject: [PATCH] fix: incorrect powershell alias instruction (#1004) * fix: incorrect powershell alias instruction * fix: use dot operator to reload powershell profile --- thefuck/shells/powershell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thefuck/shells/powershell.py b/thefuck/shells/powershell.py index 59b30ba2..95226d0d 100644 --- a/thefuck/shells/powershell.py +++ b/thefuck/shells/powershell.py @@ -24,9 +24,9 @@ class Powershell(Generic): def how_to_configure(self): return ShellConfiguration( - content=u'iex "thefuck --alias"', + content=u'iex "$(thefuck --alias)"', path='$profile', - reload='& $profile', + reload='. $profile', can_configure_automatically=False) def _get_version(self):