You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A:aliasIssues around support for command aliases, touches parser and name resolutioncategory:enhancementNew feature or requeststatus:needs-triageAn issue that hasn't had any proper look
TBC: I'll spend some time updating this section after going through the existing implementation to detail how I will go about doing this. I assume the definition is saved anyway and it's a matter of extracting and displaying it correctly.
I'd think it would be better to update view source to support aliases. Right now it seems to kind of support it but it shows the source of custom command that has been aliases.
i think adding description in path field will break many scripts
@hardfau18 hmm, interesting, do you have examples of the kind of scripts that use the path field? I can understand anything that might use it to figure out the type of an alias/command would break though so makes sense
I'd think it would be better to update view source to support aliases. Right now it seems to kind of support it but it shows the source of custom command that has been aliases.
@fdncred will check how this works currently to see if it can be extended from custom commands to aliases too
do you have examples of the kind of scripts that use the path field
I don't have specific example i just thought it might happen, i find myself using (which <fille>).0.path for moving or removing any custom binaries etc.
EDIT: my bad builtin commands do not have path and it will show similar to aliases😄
A:aliasIssues around support for command aliases, touches parser and name resolutioncategory:enhancementNew feature or requeststatus:needs-triageAn issue that hasn't had any proper look
Activity
fdncred commentedon Jul 9, 2023
I'd think it would be better to update
view sourceto support aliases. Right now it seems to kind of support it but it shows the source of custom command that has been aliases.hardfau1t commentedon Jul 10, 2023
i think adding description in
pathfield will break many scriptsa13h commentedon Jul 10, 2023
@hardfau18 hmm, interesting, do you have examples of the kind of scripts that use the
pathfield? I can understand anything that might use it to figure out the type of an alias/command would break though so makes sense@fdncred will check how this works currently to see if it can be extended from custom commands to aliases too
hardfau1t commentedon Jul 10, 2023
I don't have specific example i just thought it might happen, i find myself using
(which <fille>).0.pathfor moving or removing any custom binaries etc.EDIT: my bad builtin commands do not have path and it will show similar to aliases😄
amtoine commentedon Jul 10, 2023
instead of having
whichreturn the following columnsargpathbuilt-inwe might prefer having
command: same asargbut more explicit namepath: same as before,nullwhen built-intype: instead ofbuil-in: boolsays if it's abuilt-inacustomcommand, analiasor anexternalwhat do you guys think?
change the output of `which` to be more explicit (#9646)
c-git commentedon Feb 25, 2026
I think this is fixed now. I'm using version 0.110.0. The OP asked for the definition of the alias and that shows now.
BrainBacon commentedon Feb 25, 2026
I can also confirm that this feature is available in version 109.1