-
-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Consider shorter WindowTitle for when we get a tabbed console in Windows 10 1809 #565
Comments
Agreed. Let's just drop it. (cc #538)
Even without a tabbed interface this seems useful.
Agree that just
|
Modify Get-PromptPath to return full dir when path is equal to $Home. It will use ~ when path is in a subdir *under* $HOME. This does not address other path shortening techniques. We could do those in this PR or another one. Fixes #565
Separate PR is fine, whoever gets there first. Good TDD exercise. 😁 |
Modify Get-PromptPath to return full dir when path is equal to $Home. It will use ~ when path is in a subdir *under* $HOME. This does not address other path shortening techniques. We could do those in this PR or another one. Fixes #565
Modify Get-PromptPath to return full dir when path is equal to $Home. It will use ~ when path is in a subdir *under* $HOME. This does not address other path shortening techniques. We could do those in this PR or another one. Fixes #565
With a tabbed console coming:
We should rethink our WindowTitle in 1.0.0 a bit:
I like that we put the PowerShell version/arch/pid info to the right. Folks should be able to hover over the tab and get a tooltip with that info. However the
posh~git ~
will take up valuable, visible tab space. We should think about nuking that prefix and go with just:Another thought - with a tabbed interface like this it might be handy to display the current working dir in the title but only when not in a repo e.g.:
Finally, I've been thinking about tweaking the
Get-PromptPath
function so that whenDefaultPromptAbbreviateHomeDirectory
is $true and you are in your home dir, you get the full path e.g.C:\Users\Keith
. It is only when you go down a level that you get the~
e.g.~\GitHub\dahlbyk\posh-git
. That would turn this somewhat odd looking prompt:into
but still give me a shortened path in this case:
The text was updated successfully, but these errors were encountered: