lix/scripts
Ana Hobden 8ebdbeb257 Add fish suport to installer
Before this patch, installing Nix using the Fish shell did not
work because Fish wasn't configured to add Nix to the PATH. Some
options in #1512 offered workarounds, but they typically involve
extra plugins or packages.

This patch adds native, out-of-the-box support for the Fish shell.

Note that Fish supports a `conf.d` directory, which is intended
for exactly use cases like this: software projects distributing
shell snippets. This patch takes advantage of it. The installer
doesn't append any Nix loader behavior to any Fish config file.
Because of that, the uninstall process is smooth and a reinstall
obliterates the existing nix.fish files that we place instead of
bothering the user with a backup / manual removal.

Both single-user and multi-user cases are covered. It has been
tested on Ubuntu, and a Mac with MacPorts, homebrew, and the
Fish installer pkg.

Closes #1512

Co-authored-by: Graham Christensen <graham@grahamc.com>
2022-09-13 12:56:16 -04:00
..
bigsur-nixbld-user-migration.sh fix nixbld user name/uid for macOS 2021-03-11 10:16:34 -06:00
check-hydra-status.sh curl: Use --fail to catch errors 2022-04-06 13:34:25 +02:00
create-darwin-volume.sh darwin-install: work around existing vim swapfiles 2022-06-01 09:41:00 -05:00
install-darwin-multi-user.sh darwin-install: fix shell hint 2022-08-23 19:38:53 -04:00
install-multi-user.sh Add fish suport to installer 2022-09-13 12:56:16 -04:00
install-nix-from-closure.sh Add fish suport to installer 2022-09-13 12:56:16 -04:00
install-systemd-multi-user.sh scripts/install-systemd-multi-user.sh: fix another typo 2022-03-31 22:14:53 +03:00
install.in curl: Use --fail to catch errors 2022-04-06 13:34:25 +02:00
local.mk Add fish suport to installer 2022-09-13 12:56:16 -04:00
nix-profile-daemon.fish.in Add fish suport to installer 2022-09-13 12:56:16 -04:00
nix-profile-daemon.sh.in Apply some shellcheck suggestions 2021-11-19 15:18:10 +01:00
nix-profile.fish.in Add fish suport to installer 2022-09-13 12:56:16 -04:00
nix-profile.sh.in Add fish suport to installer 2022-09-13 12:56:16 -04:00
prepare-installer-for-github-actions Apply some shellcheck suggestions 2021-11-19 15:18:10 +01:00