mirror of https://github.com/nirenjan/dotfiles.git
Add script to set Xterm/Tmux pane title
parent
a3f0b88de4
commit
2407365328
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Set the Xterm/Tmux pane title
|
||||||
|
|
||||||
|
if [[ -z $TMUX ]]
|
||||||
|
then
|
||||||
|
echo -e "\033]0;$*\007"
|
||||||
|
else
|
||||||
|
echo -e "\033k$*\033\\"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue