Installation¶
Dependencies¶
- fish-helpText (
help-text)
Procedure¶
The installation involves moving Fish files from the directories
to the appropriate paths in the host system, depending on the installation type.
Scope¶
User¶
Automatic: Package Manager¶
Auto-updates via the package manager
Fisher: fisher install Drazape/fish-format
Manual¶
Move the directories into your Fish configuration in the home directory (~/.config/fish/):
System¶
Automatic¶
Script (local)¶
This locally installs the program and updates each time it is run
curl-to-fish script
curl -fsSL 'https://raw.githubusercontent.com/Drazape/fish-helpText/main/install.fish' | run0 fish -NP
Package Manager¶
As of now, no distribution package manager is supported.
NixOS¶
Manual Dependency
You'll need to manually install the dependencies. !!! info "Future Fish dependencies automation" For the package, a special wrapper for Fish dependencies (planned) needs to be made.
flake.nix
{
inputs = {
…
fish-format = { type="github"; owner="Drazape"; repo="fish-format"; };
…
};
outputs = inputs@{ self, nixpkgs, …, ... }: {
nixosConfigurations."yourHost" = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
…
};
…
};
}
Module with the Fish configuration
{ inputs, pkgs, …, ... }: {
…
environment.systemPackages = [
…
inputs.fish-format.packages."${pkgs.stdenv.hostPlatform.system}".default
…
]
…
};
Manual¶
The files must be moved to the vendor (vendor_*.d) system-wide path
- Package Manager: Normal system path managed by the package manager
- Local: Local directory for non-packaged programs