This repository has no description
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ config, lib, pkgs, ...}:let cfg = config.programs.fish;in{ config = lib.mkIf cfg.enable { programs.fish = { interactiveShellInit = '' set fish_greeting fish_vi_key_bindings ''; shellInit = '' if test -e $HOME/.nix-profile/etc/profile.d/nix.fish source $HOME/.nix-profile/etc/profile.d/nix.fish end
set nix_paths ${lib.concatStringsSep " " config.home.sessionPath} set paths_to_export for path in $PATH if test -d $path && not contains $path $nix_paths set paths_to_export $paths_to_export $path end end for path in $nix_paths if test -d $path set paths_to_export $paths_to_export $path end end set -x PATH $paths_to_export ''; functions.sourceenv = '' for line in (cat $argv | grep -v '^#') set item (string split -m 1 '=' $line) set -gx $item[1] $item[2] echo "Exported key $item[1]" end ''; }; };}