Browse Source

refresh timeline on viewing it

main
xfnw 2 years ago
parent
commit
23bacb6ac3
  1. 4
      README
  2. 7
      goop

4
README

@ -4,7 +4,6 @@ you can also use it as a sort of git-feed too lol
init - initilize your goop
(t)imeline - view the timeline
(r)efresh - fetch all the messages
(p)ost [msg] - post something
the (letter) means that there is a one-letter alias to
@ -21,9 +20,6 @@ find the people you "follow" (you can of course leave
out people you dont want people to know you are following etc)
general use workflow:
goop r # refresh your goop
goop t # view the timeline
how to follow people:

7
goop

@ -8,7 +8,6 @@ you can also use it as a sort of git-feed too lol
init - initilize your goop
(t)imeline - view the timeline
(r)efresh - fetch all the messages
(p)ost [msg] - post something
(s)post [msg] - post something and sign it (goop will do
wonky things if your gpg commit signing is not setup)
@ -22,6 +21,7 @@ exit
}
timeline(){
git fetch --all
git log --pretty="%Cred%GS%Creset%C(brightgreen)%an%Creset <%C(green)%ae%Creset> %C(white)%ar%Creset%Cred% D%Creset%n%w(50,1,1)%B" --remotes
exit
}
@ -35,10 +35,6 @@ init(){
exit
}
refresh(){
git fetch --all
exit
}
post(){
git commit --allow-empty -m "${*:2}" || git commit --allow-empty
@ -61,7 +57,6 @@ cd ~/.goop
[ "$1" = "timeline" ] && timeline || [ "$1" = "t" ] && timeline
[ "$1" = "refresh" ] && refresh || [ "$1" = "r" ] && refresh
[ "$1" = "post" ] && post $@ || [ "$1" = "p" ] && post $@

Loading…
Cancel
Save