-
Notifications
You must be signed in to change notification settings - Fork 13k
Gemini CLI Shell Command does not support aliases #21461
Copy link
Copy link
Labels
status/possible-duplicateworkstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreamsLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.⛔ Do not contribute. Internal roadmap item.
Metadata
Metadata
Assignees
Labels
status/possible-duplicateworkstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreamsLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.⛔ Do not contribute. Internal roadmap item.
Type
Fields
Give feedbackNo fields configured for Feature.
Repro steps:
Set an alias in your .bash_profile or similar
alias baz=echoVerify that this alias does not work from Gemini CLI
e.g running
! baz hellowhile return an error rather than echoing hello.
Solving this likely involves changing how we run shell scripts as we only want to pay the cost of spawning a shell that reads the full .bash_profile once per session.
This may be a little risky so should be implemented as a setting first.
Other CLIs support this robustly. The fact that we don't makes it confusing for users to know what shell commands they can run in their CLI.
Other problems that a solution for this should likely solve: