Fix mu4e-sync and reload_all_user_agents

This commit is contained in:
Ivan Malison 2015-01-03 13:47:30 -08:00
parent af941776f4
commit bd969d9d45
4 changed files with 8 additions and 7 deletions

View File

@ -1,3 +1,2 @@
#!/usr/bin/env zsh
refresh_config
mu4e_sync_command
offlineimap

View File

@ -287,7 +287,7 @@ function track_modified {
echo "Press any key to execute find command"
read -r key
echo "Finding..."
find $1 -newer $timestamp_file
find $1 -cnewer "$timestamp_file"
}
function python_module_path {

View File

@ -43,7 +43,7 @@ function reload_user_agent {
function reload_all_user_agents {
sudo -v
for agent in $(find -f ~/Library/LaunchAgents); do
reload_root_agent $agent
reload_user_agent $agent
done
}

View File

@ -6,13 +6,15 @@
<string>org.imalison.mu4e-sync</string>
<key>ProgramArguments</key>
<array>
<string>~/.lib/mu4e_sync.sh</string>
<string>zsh</string>
<string>-c</string>
<string>/Users/imalison/.lib/mu4e_sync.sh</string>
</array>
<key>StartInterval</key>
<integer>30</integer>
<integer>10</integer>
<key>StandardOutPath</key>
<string>/tmp/org.imalison.mu4e-sync.out</string>
<key>StandardErrorPath</key>
<string>/tmp/org.imalison.mu4e-sync.error</string>
<string>/tsmp/org.imalison.mu4e-sync.error</string>
</dict>
</plist>