From: Edward Delaporte Date: Fri, 7 Jun 2024 17:48:25 +0000 (-0500) Subject: Merge branch 'main' of github.com:edthedev/dotfiles X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/7f4277572ba5742f1a7fbfb3cde16a62ba03a4eb?hp=c6120365a5c86a0ce735c1f3c176ca7c3bd3509a Merge branch 'main' of github.com:edthedev/dotfiles --- diff --git a/install/wtfutil.sh b/install/wtfutil.sh new file mode 100755 index 0000000..7c7bf2c --- /dev/null +++ b/install/wtfutil.sh @@ -0,0 +1,18 @@ +# Set the Go proxy variable to GoCenter +# export GOPROXY="https://gocenter.io" + +# Enable Go modules +# export GO111MODULE=on + +# go install github.com/edthedev/wtf@eda8e0f +# cd $GOPATH/src/github.com/wtfutil/wtf +# make install +# make run + +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 +which wtfutil \ No newline at end of file diff --git a/setup/dash_wtfutil.sh b/setup/dash_wtfutil.sh old mode 100644 new mode 100755 index f152707..e9e3fe1 --- a/setup/dash_wtfutil.sh +++ b/setup/dash_wtfutil.sh @@ -1,7 +1,7 @@ mkdir -p ~/.config/wtf -rm ~/.config/wtf/config.yml +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 \ No newline at end of file +ln -s ~/dotfiles/files/todo-txt.config ~/.todo/config