Skip to content

Instantly share code, notes, and snippets.

@neo22s
Created April 27, 2015 15:14
Show Gist options
  • Save neo22s/5401a2820fa84c0b4b49 to your computer and use it in GitHub Desktop.
Save neo22s/5401a2820fa84c0b4b49 to your computer and use it in GitHub Desktop.
git tabs for ubuntu
#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