fish/other.fish

17 lines
422 B
Fish
Raw Normal View History

2023-06-10 16:26:51 +01:00
function nixsh
2023-06-10 16:32:57 +01:00
if test (count $argv) = 0
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'"