-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
completedIssue is completed and can be closedIssue is completed and can be closedenhancementNew feature or requestNew feature or request
Milestone
Description
Background
After a user runs go install https://github.com/davfive/gitspaces/v2@latest
for the initial install and run gitspaces for the first time, they are missing two key configurations:
-
The
ProjectPaths
list in~/.gitspaces/config.yml
This list is used to search for projects when switching spaces -
The shell wrapper
gitspaces
often needs tocd
into the requested space after an action (e.g., create, sleep, rename, switch). Since thego/bin/gitspaces
runs as a subprocess, it can't change directories in the calling (parent) shell. To address this, I use a shell function wrapper of the same name which looks for a file aftergo/bin/gitspaces
exits successfully andcd
's to it if found.
Requirements
- Until setup is complete and
go/bin/gitspaces
is being called by the shell function, provide instructions to run the. ~/.gitspaces/<shell>rc
to their shell's rc file (~/.bashrc
or~/.zshrc
) file. - Until ProjectPaths has paths in it, report an error and provide information on how to fix it.
Metadata
Metadata
Assignees
Labels
completedIssue is completed and can be closedIssue is completed and can be closedenhancementNew feature or requestNew feature or request
Projects
Status
No status