bin: extend jrnl-tag
This commit is contained in:
parent
33a47f8460
commit
1406b016da
|
@ -1,2 +1,10 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh
|
||||||
rpl "\(^\|[^@]\)\b$1\b" "\1@$1" $JOURNAL/*.txt
|
# Find terms in jrnl and turn them into tags
|
||||||
|
# Check with jrnl --tags
|
||||||
|
if test $# -eq 0
|
||||||
|
then $0 sleep nap health tech read dev phone Zinc run bike tour laptop computer PC CB piano faith journal
|
||||||
|
else
|
||||||
|
for arg
|
||||||
|
do rpl "\(^\|[^@]\)\b$arg\b" "\1@$arg" $JOURNAL/*.txt
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
|
@ -14,3 +14,4 @@ case "$1" in
|
||||||
(*) sudo -E sysyadm "$@";;
|
(*) sudo -E sysyadm "$@";;
|
||||||
esac
|
esac
|
||||||
sudo chown -R $USER /etc/yadm
|
sudo chown -R $USER /etc/yadm
|
||||||
|
sudo chmod ugo+rw /tmp/git -R
|
||||||
|
|
Loading…
Reference in New Issue