feat: add which-nix script
parent
e2b6699215
commit
56abb0ce64
|
@ -32,6 +32,17 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
which-nix = pkgs.writeFishApplication {
|
||||
name = "which-nix";
|
||||
runtimeInputs = with pkgs; [ which coreutils-full ];
|
||||
text = /* fish */ ''
|
||||
readlink -f (which $argv)
|
||||
'';
|
||||
completions = /* fish */ ''
|
||||
complete -c which-nix -fa '(__fish_complete_command)'
|
||||
'';
|
||||
};
|
||||
|
||||
gi = pkgs.writeFishApplication
|
||||
{
|
||||
name = "gi";
|
||||
|
@ -139,11 +150,12 @@ in
|
|||
(nom-system-command "nixos-boot" "sudo nixos-rebuild boot --flake ~/.dotfiles")
|
||||
(nom-system-command "nixos-switch" "sudo nixos-rebuild switch --flake ~/.dotfiles")
|
||||
comma
|
||||
manix
|
||||
nix-index
|
||||
nix-output-monitor
|
||||
nixpkgs-fmt
|
||||
statix
|
||||
manix
|
||||
nix-output-monitor
|
||||
which-nix
|
||||
|
||||
# other
|
||||
bat
|
||||
|
|
Loading…
Reference in New Issue