Shell Depth part #2970
Answered
by
Lockszmith-GH
Lockszmith-GH
asked this question in
Troubleshoot
Works in LinuxI came up with the following segment to indicate shell depth: QuestionThis will work well in Linux, any idea how to make this work in Windows? Not part of the questionHow does this work (for those finding the code in the question of interest)I'm running a
|
Answered by
Lockszmith-GH
Oct 19, 2022
Replies: 2 comments
|
I ended up simplifying this process. If anyone has another solution, I'm interested. |
0 replies
Answer selected by
Lockszmith-GH
|
I've been after something similar, been using |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ended up simplifying this process.
My shell initializes an Environment variable, and the prompt just shows the var if it's more than 1.
If anyone has another solution, I'm interested.