<commit_before>{ pkgs, lib, ... }:

let
  z = pkgs.fetchurl {
    url = "https://raw.githubusercontent.com/rupa/z/master/z.sh";
    sha256 = "0by1377wsvm75z97x7d2sfinsd1gqdgvmlci7c8d4xyrwg8hhvj8";
  };
in {
  home.packages = with pkgs; [
    zsh
  ];

  programs.zsh = lib.mkMerge [{
    enable = true;

    localVariables = {
      GPG_TTY = "$(tty)";
    };

    enableAutosuggestions = true;
    enableCompletion = true;

    plugins = [
      {
        name = "zsh-syntax-highlighting";
        src = pkgs.fetchFromGitHub {
          owner = "zsh-users";
          repo = "zsh-syntax-highlighting";
          rev = "0.6.0";
          sha256 = "0zmq66dzasmr5pwribyh4kbkk23jxbpdw4rjxx0i7dx8jjp2lzl4";<commit_msg>update rupa z<commit_after>{ pkgs, lib, ... }:

let
  z = pkgs.fetchurl {
    url = "https://raw.githubusercontent.com/rupa/z/master/z.sh";
    sha256 = "1n79c57a14zaai563f0ynv5hil53xya883g7z0ny60yh6c6gigga";
  };
in {
  home.packages = with pkgs; [
    zsh
  ];

  programs.zsh = lib.mkMerge [{
    enable = true;

    localVariables = {
      GPG_TTY = "$(tty)";
    };

    enableAutosuggestions = true;
    enableCompletion = true;

    plugins = [
      {
        name = "zsh-syntax-highlighting";
        src = pkgs.fetchFromGitHub {
          owner = "zsh-users";
          repo = "zsh-syntax-highlighting";
          rev = "0.6.0";
          sha256 = "0zmq66dzasmr5pwribyh4kbkk23jxbpdw4rjxx0i7dx8jjp2lzl4";
{'fraction_non_alphanumeric': 0.13445378151260504, 'fraction_numerical': 0.058823529411764705, 'mean_word_length': 2.3623529411764705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6092125', 'n_tokens_mistral': 634, 'n_tokens_neox': 581, 'n_words': 79}