Created
April 27, 2015 15:14
-
-
Save neo22s/5401a2820fa84c0b4b49 to your computer and use it in GitHub Desktop.
git tabs for ubuntu
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
#bin/bash | |
folders=(folder1 /my/otherfolder/ /var/www/openclassifieds2/) | |
for i in "${folders[@]}" | |
do | |
foo+=(--tab -e "bash -c 'cd "$i";git pull;git status';bash") | |
done | |
gnome-terminal "${foo[@]}" | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment