Better prompt and alias, and can determine current config using env var. #912
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Linked issues
There's no SG-XXXXX ticket for this; I guess I should create one.
Summarize your change.
Because I often need to switch to/from release/debug builds, and I never really knowing which environment I'm in at my command prompt. (multiple shells), and doing "cd" to the correct app folder where the rv binary is located, I decided to update rvcmds.sh to provide more information at the unix prompt and added aliases to "cd" to the appropriate build folder where the rv binary is located.
Later, I'd like to kinda get rid of all of the "d" aliases (eg: rvbuildd -> rvbuild), and depending on the current config / build type (rebug or release) the alias just does the right thing in the right folders. But, that's for a later time.
Describe the reason for the change.
Well, this is a fix for a pet-peeve of mine that has been bothering me since I started working on RV. It was like a little itch too small to do anything about it, but that constantly itches. Well, I fixed the itch.
Describe what you have tested and on which operating system.
macOS. I'd like Cedrik to test this on Windows and Linux.
Add a list of changes, and note any that might need special attention during the review.
Also added a call to deactivate (exit) the venv if we switch config. Apparently not exiting the venv just stacks venvs on top of each other whenever we change config type.
If possible, provide screenshots.
rvcfgd:

rvcfg:
