SUMMARY I am using a rather complex command to ssh to a remote machine that uses the -J switch (-J allows to hop ont a list of machines before connecting to the real one). The tab name ((%u) %H ) is confused by the alias I'm using and does not contain the correct fields STEPS TO REPRODUCE 1. Create an alias : alias remote='ssh -YC -J user@192.168.1.1 realuser@192.168.1.255' 2. use the alias to connect to 192.168.1.255 3. confirm the tab name is not realuser@192.168.1.155 but () -J OBSERVED RESULT The Tab name is incorrect, as the parsing of the command line is confused but the extra arguments. The name is () -J EXPECTED RESULT I expected the tab name to be realuser@192.168.1.255 SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch/linux 5.5.13 (available in About System) KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.68.0 Qt Version: 5.14.2 ADDITIONAL INFORMATION