From: Edward Delaporte Date: Thu, 9 Oct 2025 20:21:23 +0000 (-0500) Subject: wtfutil updates X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/8f51dd8aa440c41e5d5302c018329a09307a8d3b?ds=sidebyside wtfutil updates --- diff --git a/install/wtfutil.sh b/install/wtfutil.sh index fadb6f5..16e53d0 100755 --- a/install/wtfutil.sh +++ b/install/wtfutil.sh @@ -11,10 +11,23 @@ # 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 diff --git a/setup/dash_wtfutil.sh b/setup/dash_wtfutil.sh index e9e3fe1..94756d0 100755 --- a/setup/dash_wtfutil.sh +++ b/setup/dash_wtfutil.sh @@ -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