Copyright (C) 2000-2012 |
Whole document tree 5. Printing the current job nameOften a user will start a long-lived foreground job such as
5.1 zsh
Thus, we can insert the job name in the title as follows:
Note: the preexec() function appeared around version 3.1.2
of zsh , so you may have to upgrade from an earlier version.
5.2 Other shellsThis is not easy in other shells which lack an equivalent of the
Next Previous Contents |