- version update to 3.4.0
* fish’s command substitution syntax has been extended: $(cmd) now
has the same meaning as (cmd) but it can be used inside double
quotes, to prevent line splitting of the results (#159)
* Complementing the prompt command in 3.3.0, fish_config gained
a theme subcommand to show and pick from the sample themes
(meaning color schemes) directly in the terminal, instead of
having to open a Web browser.
* set and read learned a new option, --function, to set a variable
in the function’s top scope. This should be a more familiar way
of scoping variables and avoids issues with --local, which is
actually block-scoped (#565, #8145)
* string pad now excludes escape sequences like colors that fish
knows about, and a new --visible flag to string length makes
it use that kind of visible width. This is useful to get the
number of terminal cells an already colored string would occupy,
like in a prompt. (#8182, #7784, #4012)
* Performance improvements to globbing, especially on systems
using glibc. In some cases (large directories with files with
many numbers in the names) this almost halves the time taken
to expand the glob.
* Autosuggestions can now be turned off by setting
$fish_autosuggestion_enabled to 0, and (almost) all highlighting
can be turned off by choosing the new “None” theme. The exception
is necessary colors, like those which distinguish autosuggestions
from the actual command line. (#8376)
* The fish_git_prompt function, which is included in the default
prompts, now overrides git to avoid running commands set by
per-repository configuration. This avoids a potential security
issue in some circumstances, and has been assigned CVE-2022-20001
OBS-URL: https://build.opensuse.org/request/show/962059
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=68
- Update to 3.3.1:
* The prompt and command line are redrawn correctly in response to universal variable changes.
* A superfluous error that was produced when setting the PATH or CDPATH environment variables to include colon-delimited components that do not exist was removed.
* The Vi mode indicator in the prompt is repainted correctly after Ctrl-C cancels the current command.
(it's the first time I submit a package via OBS, don't know if I do properly...)
OBS-URL: https://build.opensuse.org/request/show/916049
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=66
- Update to 3.2.2:
* Background jobs no longer interfere with syntax highlighting (fish 3.2.1 regression)
* The command-not-found handler used suggestions from pacman on Arch
Linux, but this caused major slowdowns on some systems and has been disabled
* Certain programs (such as lazygit) could create situations where
fish would not receive keystrokes correctly, but it is now more
robust in these situations
* Completions for aura and tshark should no longer produce errors.
* fish will no longer hang on exit if another process is in the foreground
on macOS
* Arguments longer than 1024 characters no longer trigger excessive
CPU usage on macOS
OBS-URL: https://build.opensuse.org/request/show/886504
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=64
- Update to 3.2.1:
* Commands in key bindings are run with fish's internal terminal
modes, instead of the terminal modes typically used for commands.
This fixes a bug introduced in 3.2.0, where text would unexpectedly
appear on the terminal, especially when pasting
* Prompts which use the internal __fish_print_pipestatus function will
display correctly rather than carrying certain modifiers (such as
bold) further than intended
* Redirections to internal file descriptors is allowed again, reversing
the changes in 3.2.0. This fixes a problem with Midnight Commander
* Universal variables should be fully reliable regardless of operating
system again
* fish_git_prompt no longer causes screen flickering in certain terminals
* fish_add_path manipulates the fish_user_paths variable correctly
when moving multiple paths
* Pasting with a multi-line command no longer causes
__fish_tokenizer_state error
* psub inside event handlers cleans up temporary files properly
* Event handlers declared with --on-job-exit $fish_pid no longer run
constantly, although these functions should use --on-event fish_exit
instead.
* Changing terminal modes inside config.fish works
* set_color --print-colors no longer prints all colors in bold
* Completing commands starting with a - no longer prints an error
* Running fish_command_not_found directly no longer produces an error
on macOS or other OSes which do not have a handler available
* The new type builtin now has the (deprecated) --quiet long form of -q
* help and fish_config work correctly when fish is running in a Chrome
OS Crostini Linux VM
* The history file can be made a symbolic link without it being overwritten,
matching a similar improvement for the universal variable file in 3.2.0.
* An unhelpful error ("access: No error"), seen on Cygwin, is no longer produced
* Improvements to the rsync completions, some completion descriptions,
and completions that use IP address
* Improvements to the appearance of fish_config
- explicitly list binaries in spec file
OBS-URL: https://build.opensuse.org/request/show/879954
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=62
- Update to 3.2.0:
* Undo and redo support for the command-line editor and pager search
* Builtins can now output before all data is read
* Prompts will now be truncated instead of replaced with "> "
* Better errors with "test"
* A new theme for the documentation and Web-based configuration
* fish --no-execute will no longer complain about unknown commands
or non-matching wildcards
* string match --regex now integrates named PCRE2 capture groups
as fish variables
* Globs and other expansions are limited to 512,288 results
* A new "fish for bash users" documentation page gives a quick overview
of the scripting differences between bash and fish
* Range limits in index range expansions like $x[$start..$end]
may be omitted: $start and $end default to 1 and -1
* the type, _ (gettext), . (source) and : (no-op) functions
are now implemented builtins for performance purposes
* The output for set --show has been shortened
* string sub has a new --end option to specify the end index of
a substring
* string trim now also trims vertical tabs by default
* string repeat now handles multiple arguments, repeating each one
* The true and false builtins ignore any arguments
* status gained new dirname and basename convenience subcommands
* jobs now shows continued child processes correctly
* A new fish_status_to_signal function for transforming exit statuses
to signal names has been added
* fish -c now reads the remaining arguments into $argv
* The pwd command supports the long options --logical and --physical
* https://github.com/fish-shell/fish-shell/releases/tag/3.2.0
- Remove fix-pc-file-paths.patch
OBS-URL: https://build.opensuse.org/request/show/876027
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=58
- Update to 3.1.2:
* Commands such as fzf and enhancd, when used with eval, would
hang. eval buffered output too aggressively, which has been
fixed (#6955).
- Changes in 3.1.2:
* Commands which involve . ( ... | psub) now work correctly, as
a bug in the function --on-job-exit option has been fixed (#6613).
* Conflicts between upstream packages for ripgrep and bat, and the
fish packages, have been resolved (#5822).
* Starting fish in a directory without read access, such as via
su, no longer crashes (#6597).
* Glob ordering changes which were introduced in 3.1.0 have been
reverted, returning the order of globs to the previous state (#6593).
* Redirections using the deprecated caret syntax to a file
descriptor (eg ^&2) work correctly (#6591).
* Redirections that append to a file descriptor (eg 2>>&1)
work correctly (#6614).
* Building fish on macOS (#6602) or with new versions of GCC
(#6604, #6609) is now successful.
* time is now correctly listed in the output of builtin -n,
and time --help works correctly (#6598).
* Exported universal variables now update properly (#6612).
* status current-command gives the expected output when used
with an environment override - that is, F=B status current-command
returns status instead of F=B (#6635).
* test no longer crashes when used with "nan" or "inf" arguments,
erroring out instead (#6655).
* Copying from the end of the command line no longer crashes
fish (#6680).
* read no longer removes multiple separators when splitting a
OBS-URL: https://build.opensuse.org/request/show/799148
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=52
- Update to 3.1.0
* A new $pipestatus variable contains a list of exit statuses
of the previous job, for each of the separate commands in a pipeline
* fish no longer buffers pipes to the last function in a pipeline,
improving many cases where pipes appeared to block or hang
* cd now always looks for its argument in the current directory as a
last resort, even if the CDPATH variable does not include it or "."
* fish's debugging arguments have been significantly improved
* new builtin command, time, which allows timing of fish functions
and builtins as well as external commands
* Brace expansion now only takes place if the braces include a "," or
a variable expansion, meaning common commands such as
git reset HEAD@{0} do not require escaping
* many other fixes and improvements
OBS-URL: https://build.opensuse.org/request/show/785676
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=46
- Update to 2.7.0. Notable improvements:
* A new cdh (change directory using recent history) command provides a more
friendly alternative to prevd/nextd and pushd/popd (#2847).
* A new argparse command is available to allow fish script to parse arguments
with the same behavior as builtin commands. This also includes the fish_opt helper command. (#4190).
* Invalid array indexes are now silently ignored (#826, #4127).
* Improvements to the debugging facility, including a prompt specific to the
debugger (fish_breakpoint_prompt) and a status is-breakpoint subcommand (#1310).
* string supports new lower and upper subcommands, for altering the case of
strings (#4080). The case changing is not locale-aware yet.
* string escape has a new --style=xxx flag where xxx can be script, var,
or url (#4150), and can be reversed with string unescape (#3543).
* History can now be split into sessions with the fish_history variable,
or not saved to disk at all (#102).
* Read history is now controlled by the fish_history variable rather than
the --mode-name flag (#1504).
* command now supports an --all flag to report all directories with the
command. which is no longer a runtime dependency (#2778).
* fish can run commands before starting an interactive session using the new
--init-command/-C options (#4164).
* set has a new --show option to show lots of information about variables
(#4265).
* Full changelog: https://github.com/fish-shell/fish-shell/releases/tag/2.7.0
OBS-URL: https://build.opensuse.org/request/show/545529
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=30
- Update to 2.6.0. Notable fixes and improvements:
* Jobs running in the background can now be removed from the list of jobs
with the new disown builtin, which behaves like the same command in other
shells (#2810).
* Command substitutions now have access to the terminal, like in other
shells. This allows tools like fzf to work properly (#1362, #3922).
* In cases where the operating system does not report the size of the
terminal, the COLUMNS and LINES environment variables are used; if they
are unset, a default of 80x24 is assumed.
* New French (#3772 & #3788) and improved German (#3834) translations.
* fish no longer depends on the which external command.
* Full changelog: https://github.com/fish-shell/fish-shell/releases/tag/2.6.0
OBS-URL: https://build.opensuse.org/request/show/501825
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=28