fish-shell/src/env
Fabian Boehm 7c73c5fec0 Make fish installable
When built with the default "installable" feature, the data files (share/) are
included in the fish binary itself.

Run `fish --install` or `fish --install=noconfirm` (for
non-interactive use) to install fish's data files into ~/.local/share/fish/install

To figure out if the data files are out of date, we write the current version
to a file on install, and read it on start.

CMake disables the default features so nothing changes for that, but this allows installing via `cargo install`,
and even making a static binary that you can then just upload and have extract itself.

We set $__fish_help_dir to empty for installable builds, because we do not have
a way to generate html docs (because we need fish_indent for highlighting).
The man pages are found via $__fish_data_dir/man
2024-12-06 22:12:26 +01:00
..
environment.rs Make fish installable 2024-12-06 22:12:26 +01:00
environment_impl.rs Refactor some more .unwrap/asserts 2024-11-30 23:11:04 +01:00
mod.rs Remove obsolete no_mangle directives 2024-02-15 01:22:37 +01:00
var.rs Make bin path an Option 2024-12-06 22:12:26 +01:00