talyz
6230ff7dd8
nixos/fish: Fix foreign-env function path
2021-01-24 13:41:37 +01:00
Kevin Griffin
515d801aee
fish: add babelfish translation option
...
Configuration may be ran through fenv at shell start time
(as previously) or translated to fish at build time with
the babelfish package.
2021-01-22 09:24:40 -08:00
pacien
d94921db12
fish-foreign-env: move to fishPlugins.foreign-env
...
And relocate the installed fish functions to the `vendor_functions.d` so
that they're automatically loaded.
2021-01-04 18:53:59 +01:00
rnhmjoj
296c415030
nixos/fish: make generateCaches easier to override
2020-12-03 22:00:33 +01:00
rnhmjoj
5b59329234
nixos/fish: enable man cache generation
2020-06-29 22:28:32 +02:00
hyperfekt
c0fe9d609d
nixos/fish: prevent fish from generating completions on first run
2020-04-28 14:05:28 +02:00
Daniel Schaefer
786f02f7a4
treewide: Remove usage of isNull
...
isNull "is deprecated; just write e == null instead" says the Nix manual
2019-04-29 14:05:50 +02:00
Bob van der Linden
45d43a6472
nixos/fish: do not use /var/run
2019-03-20 00:01:45 +01:00
hyperfekt
3731835efc
nixos/fish: generate autocompletions from man pages
2019-02-27 12:23:48 +01:00
Robert Schütz
029adf9619
Revert "nixos/fish: generate autocompletions from man pages" ( #56439 )
...
System rebuilds currently fail due to collisions.
See also https://github.com/NixOS/nixpkgs/issues/56432 .
2019-02-27 00:08:57 +01:00
hyperfekt
5cc6377647
nixos/fish: generate autocompletions from man pages
2019-02-25 16:39:04 +01:00
Mitsuhiro Nakamura
c941577dcb
nixos/shells: enable to nullify already defined aliases
2018-10-14 00:14:49 +09:00
Mitsuhiro Nakamura
3b5449b80c
nixos/shells: programs.*sh.shellAliases override environment.shellAliases
2018-10-14 00:14:09 +09:00
Mitsuhiro Nakamura
fb0b3ac721
nixos/fish: use 'escapeShellArg' for shell aliases
2018-10-08 09:28:53 +09:00
Jan Malakhovski
8952375b48
nixos/shells: fix indent everywhere
...
to comply with `doc/coding-conventions.xml`
2018-08-30 13:20:39 +00:00
Tor Hedin Brønner
d273db48c6
nixos/shells: avoid overriding the environment for child shells
...
A shared exported guard `__NIXOS_SET_ENVIRONMENT_DONE` is introduced that can
be used to prevent child shells from sourcing `system.build.setEnvironment`
the second time.
This fixes e.g. `nix run derivation` when run from e.g. ZSH through the console or
ssh. Before this Bash would resource the common environment resetting the `PATH`
environment variable.
We also export `system.build.setEnvironment` to `/etc/set-environment` making it
easy to reset the common environment with `. /etc/set-environment` when
needed and to grep for environment variables in `/etc` (which was the
motivation of #30418 ).
This reverts changes made in b00a3fc6fd82834114771f2115a2b032f0ebfe29
(the original #30418 ).
2018-08-30 13:20:39 +00:00
Patrick Callahan
42c768c8e8
fish: (NixOS only) source configuration sections anew in all child shells
...
this fixes issue #25800 : https://github.com/NixOS/nixpkgs/issues/25800
2017-05-19 21:00:24 -07:00
Patrick Callahan
3f6d21bafc
fish: resolve NixOS-related initialization problems
2017-05-10 10:16:10 +01:00
rnhmjoj
17ec9368cd
fish: 2.2.0 -> 2.3.0
2016-05-26 00:10:22 +02:00
Profpatsch
a011083cda
fish: pick up completion files from other packages
...
Some packages bring their own completions in
/share/fish/vendor_completions.d. Now they are picked up by fish from
every path in NIX_PROFILES.
2016-04-09 00:08:48 +02:00
Jakob Gillich
ac7e923104
fish: add module to support it as default shell
...
* Patched fish to load /etc/fish/config.fish if it exists (by default,
it only loads config relative to itself)
* Added fish-foreign-env package to parse the system environment
closes #5331
2015-12-26 06:25:23 +01:00