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 #!/usr/bin/env zsh
refresh_config offlineimap
mu4e_sync_command

View File

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

View File

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

View File

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