Skip to content

Instantly share code, notes, and snippets.

@valk
Created June 12, 2013 11:22
Show Gist options
  • Save valk/5764490 to your computer and use it in GitHub Desktop.
Save valk/5764490 to your computer and use it in GitHub Desktop.
Restore Ubuntu / Linux terminal with preset working directories and tab title names.
#!/bin/sh
gnome-terminal \
--tab -t "guard" --working-directory=$HOME/projects/my_project \
--tab -t "server" --working-directory=$HOME/projects/my_project \
--tab -t "console" --working-directory=$HOME/projects/my_project \
--tab -t "cli" --working-directory=$HOME/projects/my_project \
--tab -t "root" --profile=root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment