Return to Snippet

Revision: 55315
at February 2, 2012 04:03 by ferro


Initial Code
#!/bin/sh
#
# needs zenity to work

FOLDER=`zenity --file-selection --title="Aonde se encontra seu diretório git?" --filename="/mnt/htdocs/sandbox/FC/www" --directory `

case $? in
        0) (cd $FOLDER; pwd; gitk);
esac

Initial URL


Initial Description
I create this script which let me add the gitk in the Programming Application menu in my gnome this way I don't need to open a shell and go to the repository base to view the rep tree

Initial Title
adding gitk in the OS menu

Initial Tags
git

Initial Language
Bash