forked from colonelpanic/dotfiles
Fix mu4e-sync and reload_all_user_agents
This commit is contained in:
parent
af941776f4
commit
bd969d9d45
@ -1,3 +1,2 @@
|
||||
#!/usr/bin/env zsh
|
||||
refresh_config
|
||||
mu4e_sync_command
|
||||
offlineimap
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user