You are not logged in.

#1 2014-05-12 19:15:33

bstaletic
Member
Registered: 2014-02-02
Posts: 658

[SOLVED] Naming terminator tabs by the command currently running

I want terminal tabs to each have names of a command that is currently being run in each one. If a tab is "idle" (no command running) the tab name I want is $PWD.
I found a way to name it $PWD, yet I have no ideo how to set it in case a command is running. Terminator (by default) is set to represent itself to system as xterm.

I always have atleast 3 tabs open, and I just want to avoid the confusion.

EDIT:
I use zsh as default shell.

Last edited by bstaletic (2014-05-12 21:26:39)

Offline

#2 2014-05-12 20:13:29

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [SOLVED] Naming terminator tabs by the command currently running

oh-my-zsh provides this by default.

Offline

#3 2014-05-12 20:28:24

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] Naming terminator tabs by the command currently running

Exactly what I was looking for. But is there a slimmer way of doing this? Having a huge (yet powerful) script for a simple task is not my usual way of doing things.

Offline

#4 2014-05-12 21:22:33

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [SOLVED] Naming terminator tabs by the command currently running

A more simple approach is described here: http://stackoverflow.com/questions/2072 … t-with-zsh

Offline

#5 2014-05-12 21:26:13

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] Naming terminator tabs by the command currently running

Thanks.

Offline

Board footer

Powered by FluxBB