Kid
9282dbc1fa
fish: remove promptInit
in favor of interactiveShellInit
( #2231 )
...
* fish: remove `promptInit` in favor of `interactiveShellInit`
* Oops
* starship: replace `promptInit` with `interactiveShellInit`
* autojump: replace `promptInit` with `interactiveShellInit`
* Add `mkRemovedOptionModule` for `programs.fish.promptInit`
2021-10-27 16:40:39 -06:00
Naïm Favier
bd11e2c5e6
Replace usage of literalExample
...
Instead use the new function `literalExpression`. See
https://github.com/NixOS/nixpkgs/pull/136909
2021-10-13 00:16:10 +02:00
Kid
9b04ff5e3b
fish: remove superfluous config guard
2021-10-04 20:21:23 +02:00
Kid
49a03303e1
fish: provide different examples
2021-08-18 23:51:33 +02:00
meck
e8358125d9
fish: fix regression due to changes in Nixpkgs
...
Fixes #1701
Fixes #1702
2021-01-09 22:35:03 +01: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
Robert Helgesson
2f726bbd1c
bash, fish, zsh: fix shellAliases example
...
Unfortunately the document generator is not smart enough to quote the
`..` alias in the documentation which is very misleading. By making it
a literal example the quotes stay.
2020-02-26 22:44:54 +01:00
Robert Helgesson
543118ac70
fish: apply nixfmt
2020-02-20 00:16:01 +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
89239d554d
fish: prepend fenv functions dir
...
Instead of concatenating the `fish_function_path` with the fenv
functions path, just prepend it. Functionally the same, but looks
cleaner (IMO).
2020-02-20 00:03:28 +01:00
Cole Helbling
a08dabf015
fish: escape abbrs and aliases
...
Some of my aliases have apostrophes in them, so shell-escaping them is a
must.
2020-02-20 00:03:27 +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
108259925a
fish: plugins separated into conf.d files
...
This was done to make it easier for the generated files to be understood.
2020-02-20 00:03:25 +01:00
Ryan Orendorff
639f6fea8c
fish: plugins concated to 99plugins.fish
...
This change allows the entire repo to be imported directly. Some plugins (such
as oh-my-fish's vi-mode) have extra files that are referenced by the plugin
itself. This means we cannot create a generic plugin file structure out of the
plugins that exist currently.
2020-02-20 00:03:24 +01:00
Ryan Orendorff
f5b24635b6
fish: whitespace and style fixes (camel case)
2020-02-20 00:03:23 +01:00
Ryan Orendorff
0522c7c1f6
fish: plugins uses pluginModule type, add example
2020-02-20 00:03:22 +01:00
Ryan Orendorff
2f51b9e418
fish: add pluginModule type
...
Similar to zsh's `pluginModule` type, but without an initialization
file.
2020-02-20 00:03:21 +01:00
Ryan Orendorff
4f532948f7
fish: shell{Abbrs,Aliases} has more specific type
...
Converted attrs to attrsOf str.
2020-02-20 00:03:20 +01:00
Ryan Orendorff
0740c257b1
fish: remove fileType function
...
Replaced by types that are more common. This additionally reflects in the
manpages, which should have types the reader is familiar with.
2020-02-20 00:03:19 +01:00
Ryan Orendorff
490f5fc585
fish: remove completions
...
They are not currently handled in the code, hence they are removed for now.
2020-02-20 00:03:18 +01:00
Ryan Orendorff
642bd67126
fish: add comma to program slogan
...
Matches what is on the fish website
2020-02-20 00:03:18 +01:00
Ryan Orendorff
4833a8b532
fish: add section headers to generated config
...
The section headers help show where each section came from when looking at the
generated config. Added a note about how the config was generated in the
generated file.
2020-02-20 00:03:17 +01:00
Ryan Orendorff
d45e1c4adc
fish: functions type to attrsOf lines, load by text
...
Functions in fish are now defined in terms of adding the appropriate
files and `files.text` sets to `xdg.configFile`.
2020-02-20 00:02:58 +01:00
Ryan Orendorff
3de8102e7f
fish: revamp descriptions to match bash style
2020-02-19 23:42:54 +01:00
Ryan Orendorff
665766f8bb
fish: add examples for shellAliases, shellAbbrs
2020-02-19 23:42:53 +01:00
Ryan Orendorff
2eb1cb077d
fish: move type declarations to top of mkOptions
...
A closer match to the style of the definitions in the bash program.
2020-02-19 23:42:52 +01:00
Jonas Holst Damtoft
c22f3e1d29
fish: basic completions support
2020-02-19 23:42:51 +01:00
Jonas Holst Damtoft
b18d302d44
fish: add plugin functionality
2020-02-19 23:42:51 +01:00
Robert Helgesson
55b71223d4
Fix option defaultText
when referencing packages
...
By using `literalExample` the documentation will show the option
default without surrounding quotes.
2019-08-28 00:14:22 +02:00
Jonas Holst Damtoft
601619660d
fish: use global for abbr
...
Makes fish use global scope for abbreviations.
This makes it so that they don't stick across config changes.
Before, an abbreviation would still exist even if removed from the config.
2019-01-23 21:19:23 +01:00
hyperfekt
6f422785c3
fish: autogenerate completions from man pages
2019-01-13 01:06:46 +01:00
Robert Helgesson
8d2cb0ef9b
fish: minor formatting fixes
2018-09-09 21:18:39 +02:00
gnidorah
2bff6e5188
fish module: envoke hm-session-vars.sh
2018-09-09 21:17:13 +02:00
Vincent Demeester
29191eb2c7
fish: add module
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-08-17 22:32:08 +02:00