Skip to content

Feat: provide nix shell highlighting  #4

@sambacha

Description

@sambacha

currently nix-shell does not have proper highlighting

bash

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-prefetch-git

nix-prefetch-git https://github.com/nixos/nixpkgs.git \
                 --rev refs/heads/nixos-unstable-small > ./nix/nixpkgs.json

nix

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-prefetch-git

nix-prefetch-git https://github.com/nixos/nixpkgs.git \
                 --rev refs/heads/nixos-unstable-small > ./nix/nixpkgs.json

console

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-prefetch-git

nix-prefetch-git https://github.com/nixos/nixpkgs.git \
                 --rev refs/heads/nixos-unstable-small > ./nix/nixpkgs.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions