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:
parent
793510ad48
commit
9381cfefa5
@ -24,9 +24,9 @@ class Powershell(Generic):
|
|||||||
|
|
||||||
def how_to_configure(self):
|
def how_to_configure(self):
|
||||||
return ShellConfiguration(
|
return ShellConfiguration(
|
||||||
content=u'iex "thefuck --alias"',
|
content=u'iex "$(thefuck --alias)"',
|
||||||
path='$profile',
|
path='$profile',
|
||||||
reload='& $profile',
|
reload='. $profile',
|
||||||
can_configure_automatically=False)
|
can_configure_automatically=False)
|
||||||
|
|
||||||
def _get_version(self):
|
def _get_version(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user