Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HNygard/418161 to your computer and use it in GitHub Desktop.
Save HNygard/418161 to your computer and use it in GitHub Desktop.
#!/bin/bash
#Put this file in ~/.gnome2/nautilus-scripts directory
#Open the selected directory of Nautilus in git cola
workdir=$(echo $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS)
git-cola -r $workdir
#Comment the previous line and uncomment the next line,
#If want to keep git cola in English even if your system use an other language
#LANG=C && git-cola -r $workdir && LANG=fr_FR.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment