fixes virtualenv name
This commit is contained in:
parent
fc8cd8ce56
commit
c89f131474
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ class VirtualEnvPart(Part):
|
|||
self.fragments.append("⬢ ")
|
||||
self.fragments.append(style_color(COLOR_OK))
|
||||
parts = virtualenv.split("/")
|
||||
self.fragments.append(parts[-2] if len(parts) >= 2 else virtualenv)
|
||||
self.fragments.append(parts[-1])
|
||||
self.fragments.append(style_reset())
|
||||
|
||||
class WineprefixPart(Part):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue