]> apps.delaporte.us Git - dotfiles.git/commitdiff
wtfutil updates
authorEdward Delaporte <edward@delaporte.us>
Thu, 9 Oct 2025 20:21:23 +0000 (15:21 -0500)
committerEdward Delaporte <edward@delaporte.us>
Thu, 9 Oct 2025 20:21:23 +0000 (15:21 -0500)
install/wtfutil.sh
setup/dash_wtfutil.sh

index fadb6f5f5703abdacd9a74afd92f6b5133538d37..16e53d0931dd8ebd8197627dc19eaa0306533daa 100755 (executable)
 #
 sudo apt install todotxt-cli
 
-echo "TODO: Get latest .tar release into ~/Downloads"
-mkdir /tmp/wtf
-cd /tmp/wtf
-tar xvf $HOME/Downloads/wtf*.tar.gz
-mv /tmp/wtf/wtf_0.43.0_linux_amd64/wtfutil ~/.local/bin
-rm -rf /tmp/wtf
+# echo "TODO: Get latest .tar release into ~/Downloads"
+# mkdir /tmp/wtf
+# cd /tmp/wtf
+# tar xvf $HOME/Downloads/wtf*.tar.gz
+# mv /tmp/wtf/wtf_0.43.0_linux_amd64/wtfutil ~/.local/bin
+# rm -rf /tmp/wtf
+
+
+# Set the Go proxy variable to GoCenter
+export GOPROXY="https://gocenter.io"
+
+# Enable Go modules
+export GO111MODULE=on
+
+cd $HOME/src
+git clone https://github.com/wtfutil/wtf.git
+cd $HOME/src/wtf
+make install
+
 which wtfutil
index e9e3fe1f0a277f1ad587c4472f455b710c6d92e7..94756d0929440f0e6d79e4ef45b5ae0fee6849ed 100755 (executable)
@@ -2,6 +2,10 @@ mkdir -p ~/.config/wtf
 rm -f ~/.config/wtf/config.yml
 ln -s ~/dotfiles/files/wtfutil.config.yml ~/.config/wtf/config.yml
 
+
 mkdir -p ~/.todo
 rm -f ~/.todo/config
 ln -s ~/dotfiles/files/todo-txt.config ~/.todo/config
+
+ls -al ~/.config/wtf
+ls -al ~/.todo/config