config file location in tweet
This commit is contained in:
parent
6a251b4555
commit
812aa37604
2
twtxt-c
2
twtxt-c
|
@ -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
|
printf "[twtxt]\n nick = %s\n twtfile = %s\n url = %s\n" "$nick" "$path_to_twtxt" "$url" >> $config/config
|
||||||
;;
|
;;
|
||||||
tweet)
|
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)
|
printf "%s\t%s\n" "$(date +'%FT%T%:z')" "$2" >> $(awk '/twtfile/ {print $3}' $config)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue