fish-3.1.2-2
Andrew Schulman
schulman.andrew@epa.gov
Thu Sep 17 17:23:52 GMT 2020
fish 3.1.2-2 is now available in Cygwin. This release updates the default
fish_prompt function to the version shipped in the upstream fish 3.1.2.
The new default prompt function has lots more stuff in it, like a colored
username, version control branch name, and numerical exit status code of
the previous command, if it ended in an error status.
Personally, I find all of that to be too much information for a shell
prompt. But it's what the fish project ships now, so Cygwin is including
it. If you want to change/simplify the prompt, you can:
* Change fish's colors. For example, you can set the username color in the
prompt from bright green (!) back to normal by
set -U fish_user_color normal
* Create your own fish_prompt function. You can start by copying it from
/usr/share/fish/vendor_functions.d/fish_prompt.fish into either of:
/etc/fish/functions (for all users on the host)
~/.config/fish/functions (for just your account)
Then edit the function, for example to remove fish_vcs_prompt (which I find
also slows down the prompt) or prompt_status.
fish is the friendly interactive shell. It's a Unix shell that focuses on
interactive use, discoverability, and user friendliness. The design goal of
fish is to give the user a rich set of powerful features in a way that is
easy to discover, remember, and use.
Home page: http://fishshell.com
Andrew E. Schulman
*******************************************************************
To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions.
*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***
If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:
cygwin-announce-unsubscribe-you=yourdomain.com_at_cygwin.com
If you need more information on unsubscribing, start reading here:
http://cygwin.com/lists.html#subscribe-unsubscribe
Please read *all* of the information on unsubscribing that is available
starting at this URL.
More information about the Cygwin-announce
mailing list