Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interp: 'type' doesn't work with the new 'alias' code #479

Closed
theclapp opened this issue Jan 16, 2020 · 0 comments
Closed

interp: 'type' doesn't work with the new 'alias' code #479

theclapp opened this issue Jan 16, 2020 · 0 comments
Milestone

Comments

@theclapp
Copy link
Sponsor Collaborator

type shows words as builtins and functions and so forth, but doesn't work with aliases.

gosh
$ type type
type is a shell builtin
$ function f { date ; }
$ type f
f is a function
$ alias f2=date
$ type f2
type: f2: not found
$
@mvdan mvdan added this to the 3.1.0 milestone Feb 18, 2020
@mvdan mvdan changed the title type doesn't work with the new alias code interp: 'type' doesn't work with the new 'alias' code Feb 19, 2020
@mvdan mvdan closed this as completed in b86cb96 Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants