Commit Graph
3 Commits
Author SHA1 Message Date
gitadmin 0a8044247b fix(tmux): pick the 1st session is a session had multiple match 2026-03-14 10:36:25 -04:00
gitadmin 465a006027 feat(script/git-bare-clone): add option parsing, usage and workspace handling
Replace the previous simple one-liner with a small POSIX shell wrapper that:
- provides a usage() help text and -h flag
- supports -d <bare-repo-dir> to set the bare repo directory (default: "./.git-repo")
- validates required arguments and prints helpful errors with non-zero exit codes
- creates the workspace directory if it doesn't exist
- uses safer variable handling when constructing the git clone and .git file
- switches to /bin/sh -e for stricter, more portable execution

This makes the script more robust, user-friendly and configurable while preserving the original behavior of producing a gitdir file and configuring remote.origin.fetch.

BREAKING CHANGE: default bare repository directory changed from "./.bare" to "./.git-repo". If you rely on the previous default path, pass -d to restore the old location.
2026-03-03 20:06:43 -05:00
steveandgitadmin 02a5e0df28 init: new dotfile configuration
Remove all org files using a new script to more config over, The old org
file configuaration were great but required org. This new version only
requires the scripts that is included in the repo.

The configuration are all done but have not ported the theming system
yet.

Signed-off-by: Steve Beaulac <steve@sagacity.ca>
Change-Id: I14cd7fe058a71c8ba9d6d35397dc8d7e6a6a6964
2026-03-02 13:26:21 -05:00