summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-09-13 21:48:45 +0200
committerhut <hut@lepus.uberspace.de>2015-09-13 21:48:45 +0200
commit14cdfaeb06ba5a02498c9e04405d0a2770a2c512 (patch)
treecd0b0bd0a093226018d585380fff22c9ce0ad80d
parent834323ed118d915f083deef2618a9afad6a6d595 (diff)
parent1ac4bc45dd9d352eeae0c316dc86daae56732ff3 (diff)
downloadranger-14cdfaeb06ba5a02498c9e04405d0a2770a2c512.tar.gz
Merge branch 'patch-1' of https://github.com/iamevn/ranger
-rw-r--r--ranger/core/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/runner.py b/ranger/core/runner.py
index 0e5d9fa3..0ae227a6 100644
--- a/ranger/core/runner.py
+++ b/ranger/core/runner.py
@@ -146,7 +146,7 @@ class Runner(object):
         # Set default shell for Popen
         if popen_kws['shell']:
             # This doesn't work with fish, see #300
-            if os.environ['SHELL'] != 'fish':
+            if not 'fish' in os.environ['SHELL']:
                 popen_kws['executable'] = os.environ['SHELL']
 
         if 'stdout' not in popen_kws: