From 8ce3a22a0d2ad9796f8d62f08af66951265027f4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 23 Apr 2014 13:44:51 -0400 Subject: fixed format of OSX script --- doc/tips/file_manager_integration.mdwn | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/tips') diff --git a/doc/tips/file_manager_integration.mdwn b/doc/tips/file_manager_integration.mdwn index d84b1c59d..19e404e22 100644 --- a/doc/tips/file_manager_integration.mdwn +++ b/doc/tips/file_manager_integration.mdwn @@ -91,12 +91,12 @@ For OS X, it is possible to get context menus in Finder. Due to how OS X deals w 3. Add a "Run shell script" element and fill in line with the following script: - #!/usr/bin/bash - source ~/.bash_profile - for f in "$@" - do - cd $(dirname $f); git-annex get $f - done + #!/usr/bin/bash + source ~/.bash_profile + for f in "$@" + do + cd $(dirname $f); git-annex get $f + done The purpose of the first line is there to get git-annex on to the path. The reason for the for loop is in case multiple files or folders are marked when running the context menu command. -- cgit v1.2.3