Posted By

ferro on 02/02/12


zenity git gitk alacarte

Versions (?)

adding gitk in the OS menu

 / Published in: Bash

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

  1. #!/bin/sh
  2. #
  3. # needs zenity to work
  5. FOLDER=`zenity --file-selection --title="Aonde se encontra seu diretório git?" --filename="/mnt/htdocs/sandbox/FC/www" --directory `
  7. case $? in
  8. 0) (cd $FOLDER; pwd; gitk);
  9. esac

Report this snippet  

You need to login to post a comment.