projects/aports·blob master · refs

13 lines · 608 B

1diff --git a/visidata/shell.py b/visidata/shell.py
2index 7cad95ec..f1ebf9c1 100644
3--- a/visidata/shell.py
4+++ b/visidata/shell.py
5@@ -79,7 +79,7 @@ class ColumnShell(Column):
6 arg = shlex.quote(str(context[arg[1:]]))
7 args.append(arg)
8
9- p = subprocess.Popen([os.getenv('SHELL', 'bash'), '-c', shlex.join(args)],
10+ p = subprocess.Popen([os.getenv('SHELL', 'sh'), '-c', shlex.join(args)],
11 stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
12 return p.communicate()
13 except Exception as e: