Skip to content

VinceCabs/dotfiles

Repository files navigation

Dotfiles

Install

git clone https://github.com/VinceCabs/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
echo GH_EMAIL=xxx@xxxxx.com > .secrets  ## Github email
bash ./dotapply.sh

Tasks

tasks.sh provides a task manager, inspired from (great) Taskfile.

Run tasks or t to show available tasks :

example of available task as shown in bash

tasks get_task_template : get a tasks.sh template in local directory (useful)

GCP Cloudshell favorite project

Set your favorite project for each session.

echo FAV_GCP_PROJECT=XXX >> .secrets

Rclone backup

The following enables Rclone backup of any local source to a Google Storage location.

Setup:

cat >> .secrets << EOL

RCLONE_BACKUP_SOURCE_PATH=XXX  # absolute path to the source you want to backup
RCLONE_GOOGLE_STORAGE_PROJECT_NUMBER=XXX  # Google Cloud project number
RCLONE_GOOGLE_STORAGE_BUCKET=XXX  # Google Storage bucket name
EOL
tasks rclone_setup

Run backup:

tasks rclone_backup

See tasks.sh code and rclone sync documentation for more details.

TODO

  • ollama setup
    • load favorite models
    • ollama serve (at startup or on demand?)
  • aichat setup
    • make env var AICHAT_CONFIG_DIR work
    • sync config with ./aichat directory

About

My dotfiles and notes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published