-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Description
Nushell has an interesting command called scope which lets you print out aliases, commands, variables, etc in a structured format. That would be really handy to be able to do from Bash or Zsh, which would mean parsing typeset output. This one might be tricky because typeset isn't a command - it's a Bash/Zsh builtin and behaves differently depending on which shell you use. It also is tricky because it has flags like -p to print, or ones by type like -a for arrays and -A for associative arrays, -r for readonly, etc. I see that env is already supported for exported variables, but I didn't see anything for the rest and thought it would be worth at least opening up the issue for discussion.
Metadata
Metadata
Assignees
Labels
No labels