Skip to content

Commit

Permalink
0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
a committed Oct 18, 2020
1 parent 18656fb commit db98f0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name='xontrib-sh',
version='0.1.1',
version='0.1.2',
license='BSD',
author='anki',
author_email='author@example.com',
Expand All @@ -19,7 +19,7 @@
python_requires='>=3.6',
packages=['xontrib'],
package_dir={'xontrib': 'xontrib'},
package_data={'xontrib': ['*.xsh']},
package_data={'xontrib': ['*.py']},
platforms='any',
url='https://github.com/anki-code/xontrib-sh',
project_urls={
Expand Down
2 changes: 1 addition & 1 deletion xontrib/sh.xsh → xontrib/sh.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def onepath(cmd, **kw):
first_compatible_shell = None
check_output_all = ''
for s in _installed_shells:
check_output = $(@(s) -nc @(shell_cmd) 2>&1).strip()
check_output = __xonsh__.subproc_captured_stdout([s, '-nc', shell_cmd, '2>&1']).strip()
if check_output == '':
first_compatible_shell = s
break
Expand Down

0 comments on commit db98f0d

Please sign in to comment.