Skip to content

Commit

Permalink
using zsh as default shell
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanCarloMachado committed Nov 9, 2024
1 parent 034b527 commit 32b66b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions PythonSearch.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
},
{
"path": "../PersonalMonorepo"
},
{
"path": "../dotfiles"
}
],
"settings": {
Expand Down
7 changes: 1 addition & 6 deletions python_search/apps/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,7 @@ def wrap_cmd_into_terminal(
"""
wraps the command in a terminal but does not execute it
"""
shell = (
os.environ["PYTHON_SEARCH_CUSTOM_SHELL"]
if "PYTHON_SEARCH_CUSTOM_SHELL" in os.environ
else "bash"
)
shell = "/bin/bash"
shell = "/bin/zsh"
# quoting here makes a big difference
cmd = f"{shell} -c '{cmd}'"

Expand Down

0 comments on commit 32b66b9

Please sign in to comment.