#611: Allow to configure alias automatically by calling fuck twice

This commit is contained in:
Vladimir Iakovlev
2017-03-13 21:50:13 +01:00
parent 2379573cf2
commit 14a9cd85aa
19 changed files with 336 additions and 54 deletions
+4 -5
View File
@@ -45,8 +45,7 @@ class Bash(Generic):
else:
config = 'bash config'
return {
'content': 'eval $(thefuck --alias)',
'path': config,
'reload': u'source {}'.format(config),
}
return self._create_shell_configuration(
content='eval $(thefuck --alias)',
path=config,
reload=u'source {}'.format(config))