Skip to content

Commit

Permalink
Revert "set zeroth argument to enable login shell without -l flag"
Browse files Browse the repository at this point in the history
This reverts commit 1a64c77.
  • Loading branch information
human9 authored and lvxnull committed Mar 14, 2024
1 parent e93090a commit 5b270e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautilus_open_any_terminal/nautilus_open_any_terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def open_remote_terminal_in_uri(uri: str):
cmd.append("-p")
cmd.append(str(result.port))

cmd.extend(["cd", shlex.quote(unquote(result.path)), ";", "exec", "-a", "-$SHELL", "$SHELL"])
cmd.extend(["cd", shlex.quote(unquote(result.path)), ";", "exec", "$SHELL", "-l"])

Popen(cmd) # pylint: disable=consider-using-with

Expand Down

0 comments on commit 5b270e4

Please sign in to comment.