Path to this page:
./
shells/fish,
User friendly command line shell for UNIX-like operating systems
Branch: CURRENT,
Version: 4.9.3,
Package name: fish-4.9.3,
Maintainer: pkgsrc-usersfish is a smart and user friendly command line shell for UNIX-like
operating systems, written mainly with interactive use in mind.
fish includes features like syntax highlighting, autosuggest-as-you-type,
and fancy tab completions that just work, with no configuration required.
This is the 4.* branch of the fish shell, rewritten from scratch in
Rust, and actively maintained. Some features introduced in fish 4.*
are described in https://fishshell.com/blog/new-in-40/
Required to run:[
devel/gettext-tools] [
devel/pcre2] [
lang/python37] [
devel/libatomic]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 2566.855 KB
Version history: (Expand)
- (2026-10-08) Updated to version: fish-4.9.3
- (2026-08-09) Updated to version: fish-4.8.1
- (2026-06-07) Updated to version: fish-4.7.1nb1
- (2026-05-11) Updated to version: fish-4.7.1
- (2025-12-31) Updated to version: fish-4.3.2
- (2025-12-18) Updated to version: fish-4.2.1nb3
CVS history: (Expand)
| 2026-11-23 08:46:21 by Thomas Klausner | Files touched by this commit (4) |
Log message:
fish*: fix installation with cmake 4.5
Based on upstream commit and PR 61046 by Gourd753.
|
| 2026-10-16 21:44:32 by Adam Ciarcinski | Files touched by this commit (452) |
Log message:
Forget Python 3.10
|
| 2026-10-16 11:52:48 by Thomas Klausner | Files touched by this commit (3) |
Log message:
fish: avoid spawning too many processes during build
|
2026-10-08 19:55:58 by Kevin Bloom | Files touched by this commit (5) |  |
Log message:
fish: update to 4.9.3
4.9.3:
more darwin bug fixes
4.9.2:
bug fixes for darwin
4.9.1:
- On non-default keyboard layouts, fish executed bindings for
physical keys instead of only bindings for the layout’s key. For
example, on the Dvorak layout, typing s would insert ; because
there is a default binding for ;
- When typing space to accept a character entered via certain IMEs,
fish would insert a space instead of the desired character, which
has been fixed
- On macOS terminals, keys like option-l would execute bindings for
alt-l instead of the historical behavior of inserting a character
(like @ on a German layout)
4.9.0:
Interactive improvements
- To mitigate issues in Konsole version v26.07.80’s implementation of
the kitty keyboard protocol, fish no longer requests that protocol
on Konsole.
- On some terminals like kitty, keys like shift-space and space can
now be mapped independently
- Fixed slow tab completion in directories that contain
slow-to-resolve symlinks (e.g. links to network-mounted files)
- Abbreviations can now be given a description, which will be
displayed in the completion pager
- Vi mode commands like cF and cT now work correctly
Scripting improvements
- List indexing can now be nested in more cases; for example
$foo[$bar[1] 2] is now allowed
- Escaped square brackets (e.g. \133 for [) are no longer considered
a slicing operator
- Variables containing a closing square brackets and used to index
into another variable will no longer close the slice early
- Builtin help pages now respect an override of the man function
- Commands like status=123 echo $status now throw an error instead of
silently ignore the variable override
Regression fixes:
- (From 4.6.0) Chinese and Japanese translation of error messages
owned by the C library were broken
- (From 4.3.2) Erasing read-only variables with set --erase was
accidentally allowed.
- (From 4.0.0) Builtin fg was not working on NetBSD
|
2026-08-09 18:45:24 by Thomas Klausner | Files touched by this commit (7) |  |
Log message:
fish: update to 4.8.1.
fish 4.8.1 (released July 14, 2026)
===================================
Interactive improvements
------------------------
- On non-macOS platforms, :kbd:`alt-backspace`, :kbd:`alt-delete`, \
:kbd:`alt-left` and :kbd:`alt-right` operate on words again instead of tokens \
(:issue:`12122`) eliminating cross-platform differences in input handling.
- Builtin and function commands can now be colored separately via new variables \
:envvar:`fish_color_builtin` and :envvar:`fish_color_function` (:issue:`12837`).
- Add :doc:`fish_darcs_prompt <cmds/fish_darcs_prompt>` for `Darcs \
<https://darcs.net/>`__ repository status.
- Fixed a crash in ``commandline --current-process`` when the cursor is inside a \
``&|`` pipe (:issue:`12868`).
- Since prompt marking (via :ref:`OSC 133 <term-compat-osc-133>`) causes \
an issue in `Konsole's <https://apps.kde.org/konsole/>`__ default \
configuration, prompt marking had been disabled for Konsole in 4.8.0.
Now the ``omit-term-workarounds`` :ref:`feature flag <featureflags>` can \
be enabled to enable prompt marking on Konsole again (:issue:`12859`).
Regression fixes:
-----------------
- (From 4.8.0) ``abbr --position=anywhere`` completions are no longer offered in \
argument position, to avoid cluttering the completion pager (:issue:`12838`).
- (From 4.8.0) ``pacman -Q`` short option completions (:issue:`12857`).
fish 4.8.0 (released June 24, 2026)
===================================
Notable improvements and fixes
------------------------------
- Translatable messages defined in Rust source code can and should now be \
translated using `Fluent <https://projectfluent.org/>`__ instead of GNU \
gettext.
For now, GNU gettext continues to be used for translating messages defined in \
fish scripts.
To make Fluent easy to work with, we have added tooling based on the new \
`fluent-ftl-tools <https://codeberg.org/danielrainer/fluent-ftl-tools>`__ \
library.
See :ref:`Contributing Translations <localization>` (:issue:`11928`).
Deprecations and removed features
---------------------------------
- Builtin :doc:`complete's <cmds/complete>` ``--command`` and \
``--path`` options no longer unescape their argument.
Interactive improvements
------------------------
- History search would sometimes forget about commands after those were re-run \
in concurrent sessions. This has been fixed (:issue:`10300`).
- ``fish_hg_prompt``, ``fish_git_prompt`` and ``fish_fossil_prompt`` now strip \
control characters from VCS state read off disk, matching ``prompt_pwd``.
- Abbreviations with ``--position=anywhere`` can now be completed in argument \
position, not just in command position (:issue:`12630`).
- Path component movement (:kbd:`ctrl-w`) skips escaped characters.
- Completion of short option groups will now handle ``--condition`` correctly \
(:issue:`12821`).
- Fixed an issue where :kbd:`ctrl-c` might fail to cancel certain functions \
(:issue:`12802`).
- On the first run after upgrading from an older version, fish will try harder \
to check if the current theme matches a historical default.
If it does match, fish won't create \
``~/.config/fish/conf.d/fish_frozen_theme.fish`` when upgrading from fish < \
4.3.
In particular, on systems where fish version 3.x was installed originally, \
fish will now avoid creating that file on upgrade (:issue:`12725`).
Scripting improvements
----------------------
- ``cd`` supports the ``-L`` and ``-P`` options, like other shells, to allow \
specifying whether symbolic links (symlinks) are resolved when changing \
directories (:issue:`7206`).
- ``cd`` with a relative path will now retry using the real current directory, \
if ``$PWD`` has been moved (:issue:`12700`).
- Nested brace expansions now strip unquoted leading and trailing spaces from \
entries consistently (:issue:`12794`).
- :doc:`bind <cmds/bind>` shows the files where bindings were defined \
(:issue:`12504`).
Other improvements
------------------
- fish no longer creates the ``__fish_initialized`` universal variable on startup.
If you don't expect to need to downgrade to earlier versions, you can \
remove it with ``set --erase __fish_initialized``.
This means that fish now only creates universal variables if instructed by the \
user.
For distributors and developers
-------------------------------
- With the exception of the ``$CMAKE_INSTALL_PREFIX/share/fish/man`` directory, \
fish no longer installs files to ``$CMAKE_INSTALL_PREFIX/share/fish``.
In particular, this means that both
``$CMAKE_INSTALL_PREFIX/share/fish/completions`` and
``$CMAKE_INSTALL_PREFIX/share/fish/functions``
should no longer exist.
These directories have been ignored since fish 4.2.
If another package installs fish scripts there, they should be corrected to \
install to
``extra_completionsdir`` (typically \
``$CMAKE_INSTALL_PREFIX/share/fish/vendor_completions.d``),
``extra_functionsdir`` (typically \
``$CMAKE_INSTALL_PREFIX/share/fish/vendor_functions.d``) or
``extra_confdir`` (typically \
``$CMAKE_INSTALL_PREFIX/share/fish/vendor_functions.d``) instead.
See also the output of ``for var in completions functions conf; pkgconf fish \
--variable="$var"dir; end``.
Regression fixes:
-----------------
- (from 4.4.0) Vi mode ``c,W`` key binding wrongly deleted trailing spaces \
(:issue:`12790`).
- (from 4.4.0) Vi mode ``x`` in :doc:`builtin read <cmds/read>` \
(:issue:`12724`).
- (from 4.3.3) Repeated tab would sometimes insert smartcase completions redundantly.
- (from 4.3.0) Pressing escape during command execution could insert garbage \
text into the command line (:issue:`12379`).
|
| 2026-08-06 13:24:30 by Jonathan Perkin | Files touched by this commit (2) |
Log message:
fish: A couple of fixes for Darwin.
The native pax(1) refuses to copy a directory if the target does not already
exist, and fish has a couple of manual page differences when installing on
Darwin.
|
| 2026-08-05 18:00:22 by Thomas Klausner | Files touched by this commit (1) |
Log message:
fish: add missing tool for testing and add test status comment
|
| 2026-06-07 15:53:03 by Thomas Klausner | Files touched by this commit (1) |
Log message:
fish: since we're not linking against pcre2 from pkgsrc, remove traces
Fixes
cargo/debug/xtask: Shared object "libpcre2-8.so.0" not found
see e.g.
https://releng.netbsd.org/pkgreports/shadow/HEAD/NetBSD-11.0-x86_64/20260525.0901/fish-4.7.1/install.log
Bump PKGREVISION.
|