]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add todolist setup
authorEdward Delaporte <edward@delaporte.us>
Sun, 12 Oct 2025 22:19:07 +0000 (17:19 -0500)
committerEdward Delaporte <edward@delaporte.us>
Sun, 12 Oct 2025 22:19:07 +0000 (17:19 -0500)
files/profile
install/golang.sh
install/todo-txt.sh [moved from install/todo.sh with 100% similarity, mode: 0755]
install/todolist.sh [new file with mode: 0755]

index 6f2d7c1047e87b7a193f4e347f5924306249cbf5..7f840ae47e5409d46d0b4dc47e8da457ccd87871 100644 (file)
@@ -28,3 +28,8 @@ fi
 
 export PATH="$HOME/bin/platform-tools:$PATH"
 export PATH="$HOME/go/bin:$PATH"
 
 export PATH="$HOME/bin/platform-tools:$PATH"
 export PATH="$HOME/go/bin:$PATH"
+export PATH="/usr/local/bin:$PATH"
+export GOROOT="$HOME/go"
+export GOPATH=$HOME/go
+export TODOLIST=$HOME/pixel7adocuments/markor
+
index 541ede0f6311f6a9061dce7c41d5cedb7f7524f8..8b00ff21c85965b198b003b06cb410eca2576acb 100644 (file)
@@ -1,11 +1,12 @@
 if ! [ -f /usr/local/go/bin/go]; then
 if ! [ -f /usr/local/go/bin/go]; then
-    echo "Install go to /usr/local/go/bin first!"
+#    echo "Install go to /usr/local/go/bin first!"
+    sudo apt install gccgo-go
 fi
 ln -s /usr/local/go/bin/go ~/bin/go
 ln -s /usr/local/go/bin/gofmt ~/bin/gofmt 
 
 ## Install my utilities
 fi
 ln -s /usr/local/go/bin/go ~/bin/go
 ln -s /usr/local/go/bin/gofmt ~/bin/gofmt 
 
 ## Install my utilities
-echo "Installing todolist"
-go install github.com/edthedev/todolist@latest
-echo "Installing agenda"
-go install github.com/edthedev/agenda@latest
+# echo "Installing todolist"
+# go install github.com/edthedev/todolist@latest
+# echo "Installing agenda"
+# go install github.com/edthedev/agenda@latest
old mode 100644 (file)
new mode 100755 (executable)
similarity index 100%
rename from install/todo.sh
rename to install/todo-txt.sh
diff --git a/install/todolist.sh b/install/todolist.sh
new file mode 100755 (executable)
index 0000000..82faa79
--- /dev/null
@@ -0,0 +1 @@
+go install github.com/edthedev/todolist@latest