]> apps.delaporte.us Git - dotfiles.git/commitdiff
Merge branch 'main' of github.com:edthedev/dotfiles
authorEdward Delaporte <delaport@illinois.edu>
Fri, 7 Jun 2024 17:48:25 +0000 (12:48 -0500)
committerEdward Delaporte <delaport@illinois.edu>
Fri, 7 Jun 2024 17:48:25 +0000 (12:48 -0500)
install/wtfutil.sh [new file with mode: 0755]
setup/dash_wtfutil.sh [changed mode: 0644->0755]

diff --git a/install/wtfutil.sh b/install/wtfutil.sh
new file mode 100755 (executable)
index 0000000..7c7bf2c
--- /dev/null
@@ -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
old mode 100644 (file)
new mode 100755 (executable)
index f152707..e9e3fe1
@@ -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