You are not logged in.

#1 2009-07-16 21:44:40

mjheagle8
Member
From: /home/mjheagle8
Registered: 2009-07-12
Posts: 186

Bash command in title?

how do i put the command in my title? i'm playing around with $BASH_COMMAND but cant get it to work. here's the relevant section i have now in my bashrc:

PROMPT_COMMAND='echo -ne "\033]0;${USER}: ${PWD/$HOME/~}\007"'

thanks for any and all help.


Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub

Offline

Board footer

Powered by FluxBB