aboutsummaryrefslogtreecommitdiff
path: root/modules/follow
diff options
context:
space:
mode:
Diffstat (limited to 'modules/follow')
-rwxr-xr-xmodules/follow/lib.sh6
-rw-r--r--modules/follow/version1
2 files changed, 4 insertions, 3 deletions
diff --git a/modules/follow/lib.sh b/modules/follow/lib.sh
index 885331e..14cfab7 100755
--- a/modules/follow/lib.sh
+++ b/modules/follow/lib.sh
@@ -22,7 +22,7 @@ source $AK_LIBDIR/_ak_ipfs
FOLLOWING="$AK_WORKDIR/following"
-_ak_follow_follow(){
+function _ak_follow_follow(){
if [ ! -z $1 ]
then
grep $1 $FOLLOWING
@@ -45,7 +45,7 @@ _ak_follow_follow(){
exit 1
}
-_ak_follow_list(){
+function _ak_follow_list(){
if [ -f $FOLLOWING ]
then
cat $FOLLOWING
@@ -56,7 +56,7 @@ _ak_follow_list(){
fi
}
-_ak_follow_unfollow(){
+function _ak_follow_unfollow(){
FOLLOWING="$HOME/.arching-kaos/following"
fentries="$(cat $FOLLOWING)"
if [ ! -z $1 ]
diff --git a/modules/follow/version b/modules/follow/version
new file mode 100644
index 0000000..5eb312c
--- /dev/null
+++ b/modules/follow/version
@@ -0,0 +1 @@
+v0.0.0 \ No newline at end of file