From 364b397b01e25ee5fbda5b59613d00a843fd7966 Mon Sep 17 00:00:00 2001 From: fioncat Date: Fri, 26 Apr 2024 10:42:35 +0800 Subject: [PATCH] chore: update example config to latest style --- TODOLIST.md | 41 ----------------------------------------- config/config.toml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 41 deletions(-) delete mode 100644 TODOLIST.md diff --git a/TODOLIST.md b/TODOLIST.md deleted file mode 100644 index 1e7844b..0000000 --- a/TODOLIST.md +++ /dev/null @@ -1,41 +0,0 @@ -# TODOList - -## v0.10.1 - -- [x] In `url`, expand the alias name. -- [x] Support completion for `keyword` and `repo name`. -- [x] Support `@[n]`, to select the `nth` visited repo. Usage: `rox home @3`, `rox home github @5`. The `n` can be defaulted to `5`. - -## v0.10.0 - -- [x] Use `Cow`, to further reduce memory `clone` overhead. -- [x] Change the data structure of the database to HashMap to optimize query, update database version to `v3`. -- [x] Rebuild `snapshot` command, don't affect workspace. - -## v0.9.0 - -- [x] `copy` command, copy current repo to another remote/group. -- [x] `home` support clone url (both HTTPS and SSH). -- [x] `home` support use keyword to do fuzzy searching on remote, usage: `rox home github xxx -s` -- [x] Support `labels`, the `sync`, `remove`, etc will use them to filter repos. -- [x] Update database to `v2` to support `labels`. -- [x] Workflow now support running commands in `docker` and `ssh`. -- [x] Rebuild config style, embed all config in one file. -- [x] Rebuild code, better hint. - -## v0.8.0 - -- [x] `info` command, show global info. -- [x] `check` command, to check: - - git version, must >= 2.20. - - fzf must be exists. - - shell type must be one of bash/zsh. - - Config, metadata, workspace directories must be exists and have read/write permission. -- [x] `sync-rule` command, use pre-defined rules to sync repos. -- [x] add `--dry-run` flag for `sync`. - -## v0.7.0 - -- [x] Rebuild code, add Repo Selector module for common usage. -- [x] Alias, implement it in api module. -- [x] Rebuild `roxide sync` command, sync branches and tags. diff --git a/config/config.toml b/config/config.toml index 20da197..629a19e 100644 --- a/config/config.toml +++ b/config/config.toml @@ -7,6 +7,22 @@ metadir = "~/.local/share/roxide" # The generated command name, to support terminal navigation. cmd = "rox" +# The expire seconds for keyword completion, default is 1 day. +keyword_expire = 86400 + +[detect] +# Auto detect project languages and modules, add them to labels. +auto = false +# Ignore glob patterns when detecting and counting stats. +ignores = [] + +[docker] +# The docker command name and args. +name = "docker" +args = [] +# The docker shell program name. +shell = "sh" + # The tag release rule. [release] patch = "v{0}.{1}.{2+}"