17 lines
422 B
Fish
17 lines
422 B
Fish
function nixsh
|
|
if test (count $argv) = 0
|
|
nix-shell --run "fish"
|
|
return $status
|
|
end
|
|
|
|
nix-shell --run "fish" -p $argv
|
|
end
|
|
|
|
alias n14="nixsh nodejs-slim_14 yarn nodePackages.eslint"
|
|
alias n14dev="n14 --run 'pnpm dev'"
|
|
alias n14pl="n14 --run 'pnpm prod-local'"
|
|
|
|
alias n19="nixsh nodejs-slim_19 yarn nodePackages.eslint"
|
|
alias n19dev="n19 --run 'pnpm dev'"
|
|
alias n19pl="n19 --run 'pnpm prod-local'"
|