1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 20:11:17 +00:00

fix: incorrect powershell alias instruction (#1004)

* fix: incorrect powershell alias instruction

* fix: use dot operator to reload powershell profile
This commit is contained in:
Simon Chan 2019-11-03 02:06:17 +08:00 committed by Vladimir Iakovlev
parent 793510ad48
commit 9381cfefa5

View File

@ -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):