Mark Jeronimus
Mark Jeronimus

Reputation: 9541

How to configure different editors for in-ide and in-terminal usage?

I have vscode running in a Flatpak sandbox.

Does git have a way to make it that it can both be used from the terminal and from within a flatpak?

I have some suspicions, because I installed a git plugin, git-subtree, which is only available from the terminal, while trying to invoke it from within vscode complains that git: 'subtree' is not a git command. git --version gives different results in the terminal and in vscode. It just seems that they both use the same config location. Maybe my question can be reformulated as, "how to set a different config location for git?" or even "how to alias <the config file> to a different physical file, for flatpak?"

[Edit] Some additional information:

Upvotes: 0

Views: 37

Answers (0)

Related Questions