Description
Running tv git-repos finds repos, but when hitting enter, it opens the repo in a different shell.
Example
On MacOS, the $SHELL variable is set to zsh, yet, my terminal emulator is set to always start fish instead.
so, tv git-repos drops me into zsh when going to a specific repo.
Expected behavior
git-repos should only cd to the repo, not create a new shell.
Environment
- OS: MacOS 26
- TV version: television 0.15.9
- shell: [fish
- terminal: Ghostty
- Your configuration file (
~/.config/television/config.toml)
- default
- The channel you are using
git-repos.toml contains this:
[actions.cd]
description = "Open a new shell in the selected repository"
command = "cd {} && $SHELL"
mode = "execute"
I think the default command should be cd {} without executing a new subshell (which is an incorrect shell for me).
What's the reasoning behind starting a new shell when going to a new git repo?
Description
Running
tv git-reposfinds repos, but when hittingenter, it opens the repo in a different shell.Example
On MacOS, the $SHELL variable is set to zsh, yet, my terminal emulator is set to always start fish instead.
so,
tv git-reposdrops me into zsh when going to a specific repo.Expected behavior
git-repos should only cd to the repo, not create a new shell.
Environment
~/.config/television/config.toml)git-repos.toml contains this:
I think the default command should be
cd {}without executing a new subshell (which is an incorrect shell for me).What's the reasoning behind starting a new shell when going to a new git repo?