- update to 3.7.1:
* Deleting the last history entry via `history delete` works
again (#10190).
* Wildcards (`*`) will no longer sometimes generate paths that
did not exist (#10205).
* A crash when trying to run an ELF program with a missing
interpreter has been fixed. This crashed in the process after
fork, so did not affect the fish process that tried to start
the program (#10199).
* `funced` will now always `source` the file after it has
written it, even if the contents did not change. This
prevents issues if the file was otherwise modified (#10318).
* The warning for when a builtin returns a negative exit code
was improved, now mentioning the original status (#10187).
* Added completions for `cobra-cli`, `dmidecode`, `mycli`,
`ollama`, `pstree`
- Update to 3.7.0:
in a search (#10005). This makes it nicer to search something with ↑ and then later decide
* Closing the history pager with enter will now copy the search text to the commandline
* See https://github.com/fish-shell/fish-shell/releases/tag/3.7.0
may not be expected. (bsc#1217808, CVE-2023-49284)
* By default, Control-R now opens the command history in the pager,
* see https://github.com/fish-shell/fish-shell/releases/tag/3.4.0
* Pasting with a multi-line command no longer causes
- Define GenericName and proper category in fish.desktop
of the scripting differences between bash and fish
may be omitted: $start and $end default to 1 and -1
a substring
OBS-URL: https://build.opensuse.org/request/show/1164533
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=91
- Update to 3.7.0:
* The history pager will now also attempt subsequence matches (#9476),
so you can find a command line like git log 3.6.1..Integration_3.7.0 by searching for gitInt.
* Opening the history pager will now fill the search field with a search string if you’re already
in a search (#10005). This makes it nicer to search something with ↑ and then later decide
to switch to the full pager.
* Closing the history pager with enter will now copy the search text to the commandline
if there was no match, so you can continue editing the command you tried to find right away (#9934).
* Performance improvements for command completions and globbing, where supported by the operating system,
especially on slow filesystems such as NFS (#9891, #9931, #10032, #10052).
* fish can now be configured to wait a specified amount of time for a multi-key sequence to be completed,
instead of waiting indefinitely. For example, this makes binding kj to switching modes in vi mode possible.
The timeout can be set via the new fish_sequence_key_delay_ms variable (#7401),
and may be set by default in future versions.
* See https://github.com/fish-shell/fish-shell/releases/tag/3.7.0
for more details
OBS-URL: https://build.opensuse.org/request/show/1136000
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=88
- update to 3.6.0:
* By default, Control-R now opens the command history in the pager,
* Abbrevations are more flexible
* The \\x and \\X escape syntax is now equivalent. \\xAB previously
behaved the same as \\XAB, except that it would error if the value “AB” was larger than “7f”
* The fish_git_prompt will now only turn on features if the appropriate
variable has been set to a true value (of “1”, “yes” or “true”)
instead of just checking if it is defined.
* Abbreviations are no longer stored in universal variables.
* The short option -r for abbreviations has changed from rename to regex,
for consistency with string.
* argparse can now be used without option specifications, to allow using
--min-args, --max-args or for commands that take no options
* set --show now shows when a variable was inherited from fish’s parent process,
which should help with debugging
* The read limit is now restored to the default when fish_read_limit is unset
* fish_clipboard_copy and fish_clipboard_paste can now be used in pipes
* A new variable, fish_cursor_selection_mode, can be used to configure whether
the command line selection includes the character under the cursor (inclusive) or not (exclusive)
* The complete-and-search binding, used with Shift-Tab by default,
selects the first item in the results immediately
* The key combination for the QUIT terminal sequence, often Control-Backslash (\\x1c),
can now be sused as a binding
* commandline gained two new options, --selection-start and --selection-end,
to set the start/end of the current selection
OBS-URL: https://build.opensuse.org/request/show/1058904
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=78
- update to 3.5.1:
* Cursor shaping for Vi mode is enabled by default in tmux,
and will be used if the outer terminal is capable
* ``printf`` returns a better error when used with arguments
interpreted as octal numbers
* ``history merge`` when in private mode is now an error,
rather than wiping out other sessions' history
* The error message when launching a command that is built
for the wrong architecture on macOS is more helpful
- setup fish.keyring
OBS-URL: https://build.opensuse.org/request/show/990730
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=76
- 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
- Update to v2.3.0
- Significant Changes
* A new string builtin to handle… strings!
* After seeing an escape character wait up to 300ms for an a
dditional character.
* Add new directories for vendor functions and configuration
snippets (#2498)
* A new fish_realpath builtin and associated function to allow
the use of realpath even on those platforms that don't ship
an appropriate command. (#2932)
* Alt-# toggles the current command line between commented and
uncommented states, making it easy to save a command in
history without executing it.
* The fish_vi_mode function is now deprecated in favour of
fish_vi_key_bindings
- Backward-incompatible changes
* Unmatched globs will now cause an error, except when used
with for, set or count (#2719, #2394) and and or will now bind
to the closest if or while, allowing compound conditions without
begin and end (#1428)
* set -ql now searches up to function scope for variables (#2502)
* status -f will now behave the same when run as the main script
or using source (#2643)
* source no longer puts the file name in $argv if no arguments
are given (#139)
- Full release notes at
https://github.com/fish-shell/fish-shell/releases/tag/2.3.0
OBS-URL: https://build.opensuse.org/request/show/397351
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=17