1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-11-01 15:42:06 +00:00

Compare commits

...

2 Commits
1.38 ... 1.39

Author SHA1 Message Date
nvbn
f477cd69c2 Bump to 1.39 2015-05-09 18:53:49 +02:00
nvbn
690729d5a1 #176 Fix fails with wrong aliases 2015-05-09 18:53:36 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
VERSION = '1.38'
VERSION = '1.39'
setup(name='thefuck',

View File

@@ -60,7 +60,7 @@ class Bash(Generic):
return dict(
self._parse_alias(alias)
for alias in proc.stdout.read().decode('utf-8').split('\n')
if alias)
if alias and '=' in alias)
def _get_history_file_name(self):
return os.environ.get("HISTFILE",
@@ -82,7 +82,7 @@ class Zsh(Generic):
return dict(
self._parse_alias(alias)
for alias in proc.stdout.read().decode('utf-8').split('\n')
if alias)
if alias and '=' in alias)
def _get_history_file_name(self):
return os.environ.get("HISTFILE",