Skip to content

Commit

Permalink
feat: add termux shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Dec 5, 2024
1 parent 88b9d9f commit f038cf1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions termux-widget/shortcuts/tasks/sync.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

# https://stackoverflow.com/questions/3822621/how-to-exit-if-a-command-failed
set -eu
set -o pipefail

cd /sdcard/Notes/org
git pull origin main
git push origin main

0 comments on commit f038cf1

Please sign in to comment.