bashrc: Dynamic window titles
This commit is contained in:
parent
d084754c4a
commit
c624ce78f1
1 changed files with 1 additions and 1 deletions
2
.bashrc
2
.bashrc
|
|
@ -5,7 +5,7 @@ HISTFILESIZE=900000
|
||||||
|
|
||||||
case ${TERM} in
|
case ${TERM} in
|
||||||
xterm*|rxvt*|Eterm|aterm|kterm|gnome*|alacritty*)
|
xterm*|rxvt*|Eterm|aterm|kterm|gnome*|alacritty*)
|
||||||
PS1='\h:\[\033[38;5;219m\]\W\[\033[00m\] \[\033[01;35m\]\u\[\033[00m\]\$ '
|
PS1='\033]2;Terminal: \h:\W \u\007\h:\[\033[38;5;219m\]\W\[\033[00m\] \[\033[01;35m\]\u\[\033[00m\]\$ '
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
PS1='\h:\W \u\$ '
|
PS1='\h:\W \u\$ '
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue