Termix icon indicating copy to clipboard operation
Termix copied to clipboard

some plugins not working on fish shell

Open termix-github-bot[bot] opened this issue 3 weeks ago • 3 comments

What happened?

certain plugins (tried samba, users) don't work when the host uses fish shell.

fish: Expected end of the statement, but found keyword 'exec' export PATH="$PATH:/usr/sbin:/sbin:/usr/local/sbin"; if [ "$(id -u)" = "0" ]; then exec bash -s; else exec sudo -n env PATH="$PATH" bash -s; fi ^~~^

Steps to reproduce

install plugin on host with fish shell attempt to connect to samba plugin see error :(

Termix version

v26.11.1

Platform

Website, Linux


[!NOTE] Submitted via the Termix Discord Support Bot Reported by lunarconstruct on Discord View Discord thread

termix-github-bot[bot] avatar Nov 09 '26 17:11 termix-github-bot[bot]

Auto-triage

Plugins fail on hosts using fish shell because host scripts use bash syntax. The fix ensures scripts run under sh for compatibility.

Field Value
Type Bug
Difficulty 2/5 (Small)
Priority Medium

A maintainer will take a look. If anything above looks wrong, just say so.

termix-triage-bot[bot] avatar Nov 09 '26 17:11 termix-triage-bot[bot]

Fixed in #1806: host scripts now run under sh, so fish and csh login shells work. It ships with Termix 26.11.2 and plugin SDK 2.10.0, and each plugin picks it up in its next release.

LukeGus avatar Nov 16 '26 23:11 LukeGus

This was fixed in v26.11.2. Update Termix to the latest version to get it. Thanks for the report!

termix-triage-bot[bot] avatar Nov 18 '26 17:11 termix-triage-bot[bot]