Displaying my full Windows Path right from the drive #5847
Replies: 2 comments 3 replies
|
@Dark-Knight499 the drive is part of the path, no? i don't see what's missing here, can you explain with a few examples? |
|
I think the issue is that "properties": {
"style": "full",
"folder_separator_icon": "\\",
"home_icon": "{{ .Location }}"
},
"template": "{{ $loc := .Location | replace \"/\" \"\\\\\" }}{{ path $loc .Location }}<p:white>></>",It would be nice if there was just an option to turn off the home directory substitution. What makes it particular complex is that when you are in the home directory itself, One of my use cases is teaching beginning programmers, and I want what I to show is a highlighted but not entirely different version of non-posh PowerShell that my students would find on a less tricked out machine. E.g., for experienced people the forward slashes on Windows might be fine or even preferable, but I don't want to impose the cognitive load on a student of having to understand why they are getting backward slashes instead of forward slashes like I have. (And if they ask, "how did you get those colors?", then I can introduce them to the world of OMP :) ). |
Uh oh!
There was an error while loading. Please reload this page.
minimal setup I need is C:\path\repo_name (branch_name)> read through the docs could not make it
the how to show drive info ?
All reactions