Script to Change the Title of Your Terminal WindowPosted: October 30, 2012 | Author: tech0x20 | Filed under: mac | Tags: shell, terminal | Leave a comment »
I decided to create a small bash script to change the title of my current terminal window in bash on my Mac:
#!/bin/bash echo -ne " 33]0;" $* " 07"
The script then runs as:
change_title Your title goes here.