diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-23 13:44:51 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-23 13:44:51 -0400 |
commit | 8ce3a22a0d2ad9796f8d62f08af66951265027f4 (patch) | |
tree | 01468adada3b1aa3f1a3cac297e372866c173c79 /doc/tips/file_manager_integration.mdwn | |
parent | 655217127c4198d133d216baac4c54ab2f96f50d (diff) |
fixed format of OSX script
Diffstat (limited to 'doc/tips/file_manager_integration.mdwn')
-rw-r--r-- | doc/tips/file_manager_integration.mdwn | 12 |
1 files changed, 6 insertions, 6 deletions
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. |