fish/other.fish

16 lines
404 B
Fish
Raw Normal View History

2023-06-10 16:26:51 +01:00
function nixsh
if count $argv = 0 > /dev/null
nix-shell --run "fish"
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'"