Provide a bashrc that enables "intelligent" tab titles
Bug #1437089 reported by
Djax
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
elementary OS |
Fix Released
|
Wishlist
|
Djax |
Bug Description
Till now the tab titles in terminal are just a repetition of the prompt.
The aim of this bug is to provide tab titles in the form "(last segment of the path): (last executed cmd)"
While executing a process like e.g. top the cmd name is printed in the form "cmd" in the title.
To achive this afaik the only way for bash is to do it with a trap DEBUG.
To not hijack the debug trap from the user the linked branch uses this script:
https:/
It adds preexec and precmd to bash just like in Zsh. So the user can hook as much own function as he wants.
It doesn't override already set PROMPT_COMMAND so the actual notification hook still persists.
description: | updated |
Changed in elementaryos: | |
milestone: | none → freya-rc1 |
importance: | Undecided → Wishlist |
status: | New → In Progress |
Changed in elementaryos: | |
assignee: | nobody → Djax (parnold-x) |
Changed in elementaryos: | |
status: | In Progress → Fix Committed |
Changed in elementaryos: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.