New submission from Nathan West:

Many fish_prompts use display the $status (fish's equivalent to $?) somewhere 
in the prompt. Currently, venv's activate.fish overwrites and wraps the user's 
fish_prompt, the wrapping doesn't preserve this $status. This patch ensures 
that the $status is correctly restored before invoking the user's fish_prompt.

This is based on my similar work in virtualenv, at 
https://github.com/pypa/virtualenv/pull/799

----------
components: Library (Lib)
files: patch.diff
keywords: patch
messages: 254906
nosy: Lucretiel
priority: normal
severity: normal
status: open
title: Fix venv activate.fish to maintain $status
type: enhancement
versions: Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file41079/patch.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25671>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to