alpha
Login
or
Join now
j3s.sh
/
dotfiles
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
my dotz
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Simplify jsync, add jsync to notes
author
j3s
date
6 years ago
(Feb 13, 2020, 10:06 PM -0600)
commit
5ada02dd
5ada02dd6499389800c00b9f28d8dfb00284e7b5
parent
1b1c6a2c
1b1c6a2cf21a72df29f5294deafe23b4f2b6deca
+5
-3
2 changed files
Expand all
Collapse all
Unified
Split
bin
jsync
n
+4
-2
bin/jsync
Reviewed
···
1
1
-
#!/bin/sh
1
1
+
#!/bin/sh -e
2
2
3
3
homedir="$HOME/drop"
4
4
-
mkdir -p "$homedir"
4
4
+
if ! [ -d "$homedir" ]; then
5
5
+
git clone j3s@gibson:drop "$homedir"
6
6
+
fi
5
7
cd "$homedir"
6
8
git pull
7
9
git add --all
+1
-1
bin/n
Reviewed
···
4
4
5
5
notefile="$HOME/drop/notes.md"
6
6
vim "+normal Go" "$notefile"
7
7
-
# jsync
7
7
+
jsync