nu_scripts
nu_scripts copied to clipboard
git aliases depend on gstat, but do not mention it
Steps to reproduce:
- install nushell on a fresh Ubuntu
- download git-aliases to nushell config dir and add
use git-ailases.nu *
to the config file - run
exec nu
to reload the configuration - run
git_current_branch
What happens
Error: nu::shell::external_command
× External command failed
╭─[/home/fil/.config/nushell/git-aliases.nu:2:6]
1 │ export def git_current_branch [] {
2 │ (gstat).branch
· ──┬──
· ╰── Command `gstat` not found
3 │ }
╰────
help: Did you mean `gst`?
What I expected to happen
The script to have mentioned that gstat
is a dependency and where to get it.
--
Thank you for this amazing shell!