Last active
July 1, 2016 15:45
-
-
Save satbirdd/afb166a9bfe98c7b8ea70329ef84ed46 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
gnome-terminal\ | |
--tab\ | |
--title="Rails"\ | |
--working-directory="/home/username/works/project"\ | |
-e "bash -c 'rails s;bash'"\ | |
#the gnome-terminal closes after the somecommand terminates, the reason being gnome-terminal not running the bash as it's default shell. | |
#To get the bash prompt($) after the command command completes, you need to trigger it back. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment