config file location in tweet

pull/1/head
rick 2 years ago
parent 6a251b4555
commit 812aa37604

@ -47,7 +47,7 @@ case $1 in
printf "[twtxt]\n nick = %s\n twtfile = %s\n url = %s\n" "$nick" "$path_to_twtxt" "$url" >> $config/config
;;
tweet)
export config=/home/g1n/.config/twtxt/config
export config=/home/$USER/.config/twtxt-c/config
printf "%s\t%s\n" "$(date +'%FT%T%:z')" "$2" >> $(awk '/twtfile/ {print $3}' $config)
;;
*)

Loading…
Cancel
Save