2023-06-10 16:26:51 +01:00
|
|
|
function nixsh
|
2023-06-10 16:30:59 +01:00
|
|
|
if count $argv > /dev/null
|
2023-06-10 16:26:51 +01:00
|
|
|
nix-shell --run "fish"
|
2023-06-10 16:30:59 +01:00
|
|
|
return $status
|
2023-06-10 16:26:51 +01:00
|
|
|
end
|
|
|
|
|
2023-05-19 08:36:32 +01:00
|
|
|
nix-shell --run "fish" -p $argv
|
|
|
|
end
|
|
|
|
|
2023-06-10 16:26:51 +01:00
|
|
|
alias n14="nixsh nodejs-slim_14 yarn nodePackages.eslint"
|
2023-05-19 08:36:32 +01:00
|
|
|
alias n14dev="n14 --run 'pnpm dev'"
|
2023-06-10 16:26:51 +01:00
|
|
|
alias n14pl="n14 --run 'pnpm prod-local'"
|
2023-05-19 08:36:32 +01:00
|
|
|
|
2023-06-10 16:26:51 +01:00
|
|
|
alias n19="nixsh nodejs-slim_19 yarn nodePackages.eslint"
|
2023-05-19 08:36:32 +01:00
|
|
|
alias n19dev="n19 --run 'pnpm dev'"
|
2023-06-10 16:26:51 +01:00
|
|
|
alias n19pl="n19 --run 'pnpm prod-local'"
|