Umask not found in nushell

I’m on Nixos unstable and can run umask in bash and fish just fine. However, in nushell i get this:

umask                                                                                                       
Error: nu::shell::external_command

  × External command failed
   ╭─[entry #1:1:1]
 1 │ umask
   · ──┬──
   ·   ╰── executable was not found
   ╰────
  help: No such file or directory (os error 2)

I can run all other programs normally in nushell as far as i can tell.

What am i missing?

At least for fish it works because is a fish builtin command
https://fishshell.com/docs/current/cmds/umask.html

1 Like

I wasn’t aware that umask is a shell builtin and not a coreutil or something like that. Thank you!

1 Like