nixpkgs/pkgs/shells/fish
Bouke van der Bijl 9daa1838d3 fish: replace use of tr with string split
This shaves about 4ms off fish start time.

Before (profiled with 'fish --profile prof.txt -c fish_prompt'):

225	4636	----> set -l __nix_profile_paths (echo $NIX_PROFILES | /nix/store/m5ajgnzp2512na31brwfmydwk3l1gawb-coreutils-8.31/bin/tr ' ' '\n')[-1..1]
4411	4411	-----> echo $NIX_PROFILES | /nix/store/m5ajgnzp2512na31brwfmydwk3l1gawb-coreutils-8.31/bin/tr ' ' '\n'

After:

190	248	----> set -l __nix_profile_paths (string split ' ' $NIX_PROFILES)[-1..1]
2020-06-17 18:59:35 +02:00
..
fish-foreign-env fish-foreign-env: update stderr redirection in patch 2020-02-16 23:29:02 -08:00
default.nix fish: replace use of tr with string split 2020-06-17 18:59:35 +02:00
dont-codesign-on-mac.diff fish: disable codesigning 2020-04-27 14:23:08 -07:00