SandWood Jones
7538d96535
fish: added abbr.name option
2025-11-17 15:24:59 +01:00
Raul Rodrigues de Oliveira
ba15db2a15
fish: added completions option ( #8127 )
2025-11-06 10:27:58 -06:00
Austin Horstman
a42e05d9b1
Revert "fish: support theme plugins"
...
This reverts commit 5a21f4819e .
2025-10-01 11:17:30 -05:00
NovaViper
5a21f4819e
fish: support theme plugins
...
Allows for linking fish plugin theme files to [fish's themes
folder](https://fishshell.com/docs/current/cmds/fish_config.html#theme-files ).
Fully allowing for theme plugins to properly be installed declaratively.
Fixes nix-community/home-manager#3724
2025-09-30 14:48:53 -05:00
Mohamad Fikri
2d7d65f65b
fish: fix the binds.*.erase option ( #7186 )
...
The `command` option is optional when the `erase` option is true,
because when in erase mode, bind does not require any other arguments
2025-06-06 15:57:26 -05:00
Mohamad Fikri
85a27991d5
fish: add binds option ( #7121 )
...
binds options is a wrapper of fish_user_key_bindings that contains
custom binds
2025-05-28 22:35:08 -05:00
awwpotato
5da6eafceb
treewide: remove unused code ( #6985 )
2025-05-07 10:03:21 -05:00
Karun Sandhu
b8d186abf8
fish: allow multiple commands for command option in abbreviations ( #6851 )
2025-04-20 00:23:07 -05:00
Austin Horstman
cba2f9ce95
treewide: reformat nixfmt-rfc-style
...
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00
Zhaofeng Li
e3dded7a85
fish: Fix manpage completion generation with paths containing spaces ( #6703 )
...
Manual pages with spaces in their paths can lead to argument injection.
2025-03-25 13:13:52 -05:00
Karun Sandhu
8675edf7d3
fish: add command option for abbreviations ( #6666 )
...
The fish shell has added a flag to the abbr command which allows one to expand it only if it is typed after a real command e.g.:
git s -> git status
s -> s
Also see the last example here: https://fishshell.com/docs/current/cmds/abbr.html#examples
2025-03-19 22:43:42 -05:00
Austin Horstman
439a125afe
tests: remove with lib ( #6511 )
2025-02-21 23:20:07 -06:00
Stel Abrego
8b797c8eea
fish: escape abbr expansions once again
...
Commit 8cedd6 `fish: support flexible abbreviations` removed shell
escaping for fish shell abbr values. This was a dangerous breaking
change offered little value and made writing abbr expansions more
difficult. This commit restores automatic shell escaping of fish abbr
values.
2023-12-21 11:42:07 +01:00
OTABI Tomoya
8cedd63eed
fish: support flexible abbreviations
...
https://github.com/fish-shell/fish-shell/releases/tag/3.6.0
2023-11-24 18:44:25 +01:00
mat ess
7e81e7ae2b
fish: always run fish_indent
2022-12-05 23:16:39 +01:00
mat ess
ca48fced83
fish: format user and generated .fish files
...
Adds a `fishIndent` wrapper to pass fish scripts to the built in
`fish_indent` function.
2022-12-04 09:07:54 +01:00
Robert Helgesson
cb09a968e9
tests: add option test.stubs
...
This option provides a more convenient way to overlay dummy packages.
It also adds a function `config.lib.test.mkStubPackage` that can,
e.g., be used for `package` options.
2021-09-26 23:26:38 +02:00
Robert Helgesson
29ea37374d
fish: use dummy fish package in tests
2021-08-06 23:33:19 +02:00
Peter Rice
8b82f52e75
fish: source each file in plugin conf.d separately
...
According to https://fishshell.com/docs/current/cmds/source.html ,
only one file can be sourced at a time: "If additional arguments are
specified after the file name, they will be inserted into the $argv
variable."
PR #1204
2020-04-29 21:46:10 +02:00
Terje Larsen
9905ab5087
fish: fix fish plugins complete path update
...
PR #1178
2020-04-22 01:02:10 +02:00
Cole Helbling
a11cf1decd
fish: allow arguments to functions
...
This allows the ability to provide arguments to a function, such as
`--on-event` in order to trigger a function on the
`fish_command_not_found` event, for example.
PR #1063
2020-03-07 12:51:37 +01:00
Cole Helbling
5ca224f75b
fish: consistency is key and other style changes
...
I like my empty sets with spaces between them.
2020-02-20 00:03:29 +01:00
Cole Helbling
9a258edc10
fish: fix sourcing of .fish files
...
Turns out, the quotes were messing things up.
2020-02-20 00:03:26 +01:00
Ryan Orendorff
111011b2c2
fish: add some tests
...
- If a function is defined, check that the function file exists and
that the contents matches a given string.
- If no functions exists, the functions folder should not exist.
- Verify plugin functionality.
2020-02-20 00:03:26 +01:00