/ 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
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/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
Comments
