Browse Source

xterm title

master 0.5.0
pvincent 5 years ago
parent
commit
282b1f9584
  1. 4
      bash.bashrc

4
bash.bashrc

@ -58,6 +58,10 @@ __prompt_command() {
local Mag='\[\e[1;95m\]'
local Gra='\[\e[1;30m\]'
# set xterm title
echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"
PS1=''
if [[ $container == 'lxc' ]];then

Loading…
Cancel
Save