dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 78b8a72763ed30e70895366bd43da7274b30d2d0
parent 8e65e329609c8aee78d53b563cead380aba9ea22
Author: Chris Bracken <chris@bracken.jp>
Date:   Mon, 15 Jun 2015 10:05:20 -0700

Add function to set xterm title.

Diffstat:
M.sh_functions | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/.sh_functions b/.sh_functions @@ -1,2 +1,7 @@ # -*- mode: shell-script; -*- vim: set filetype=sh # Custom shell functions + +# Sets xterm title to $1. +function set_xtitle { + echo -n "\033]0;${1}\007" +}