Created
September 22, 2010 16:04
-
-
Save putermancer/591975 to your computer and use it in GitHub Desktop.
development screen session shortcut
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Simple way to create a main development screen in the | |
# right base directory, or re-attach to the one that is | |
# already setup. | |
# I create a symlink or alias 's' so I am always one keystroke | |
# away from my dev screen. | |
if screen -ls | grep main > /dev/null | |
then | |
screen -x | |
else | |
cd $HOME/Development && screen -S main | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment