anchor.diff:          ${pkgs.darwin.cctools}/bin/otool "$@"
       }
   
  -    aarch-build() {
  -        nix-build --option system aarch64-linux --store ssh-ng://aarch1 "$@"
  -    }
  -
  -    arm-build() {
  -        nix-build --option system armv7l-linux --store ssh-ng://arm1 "$@"
  -    }
  -
  -    darwin-build() {
  -        nix-build --option system x86_64-darwin --store ssh-ng://mac1 "$@"
  -    }
  -
  -    linux-build() {
  -        nix-build --option system x86_64-linux --store ssh-ng://nixos1 "$@"
  +    vat() {
  +        TERM=vt100 nvim -R "$@" "+setl updatetime=0" "+autocmd CursorHold * :q"
  +    }
  +
  +    nixq() {
  +        nix eval --json "(
  +        with builtins;
  +        with import <nixpkgs/lib>;
  +        let
  +          _ = fromJSON (readFile /dev/stdin);
  +          _0 = head _;
  +          _1 = head _0;
  +          _2 = head _1;
  +        in
  +        $*
  +        )"
       }
   
       nix-unpack() {
  
positive.code:     :u() {
          local exports
  
          exports=$(direnv apply_dump <(nix-shell -E "with import <dotpkgs> {}; mkShell { buildInputs = [ $* ]; }" --run 'direnv dump'))
          eval "$exports"
  
          name+="''${name:+ }$*"
  
negative.code:             tmux send-keys -t . "$*" Enter
          fi
      }
  
      gh-darwin-debug() {
          curl -X POST -fsSL \
              -H "Accept: application/vnd.github.everest-preview+json" \
              -H "Authorization: token $GITHUB_TOKEN" \
              --data '{"event_type": "debug"}' \
              https://api.github.com/repos/LnL7/nix-darwin/dispatches
      }
  
      pushover() {
          local i
          "$@"
          i=$?
          curl -fsSL -XPOST \
              --form-string "token=$PUSHOVER_TOKEN" \
              --form-string "user=$PUSHOVER_USER" \
              --form-string "expire=60" \
              --form-string "sound=intermission" \
              --form-string "message=$*: completed with status $i" \
              https://api.pushover.net/1/messages.json > /dev/null
          return "$i"
      }
    '';
  
    programs.zsh.interactiveShellInit = ''
  