[New-bugs-announce] [issue25671] Fix venv activate.fish to maintain $status

Nathan West report at bugs.python.org
Thu Nov 19 10:24:50 EST 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue25671>
_______________________________________


More information about the New-bugs-announce mailing list