Skip to content

Instantly share code, notes, and snippets.

@capotej
Created February 18, 2014 22:02
Show Gist options
  • Save capotej/9081244 to your computer and use it in GitHub Desktop.
Save capotej/9081244 to your computer and use it in GitHub Desktop.
tw.sh
tw () {
if [ -z $1 ]
then
1=$(basename $(pwd))
fi
tmux rename-window $1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment