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

Show option: expand alias in terminal before it gets executed (like abbr -a in fish shell) #968

Closed
ghost opened this issue Apr 29, 2022 · 1 comment · Fixed by #1080
Closed

Comments

@ghost
Copy link

ghost commented Apr 29, 2022

Feature request

For only .gitconfig file, i want this feature

[alias]
    cl = clone
    ci = commit
  • After typing git cl and press space key, alias should expand
    e.g cl option will turn into clone

  • For some reason, if i made a mistake, i can press Esc or Ctrl+space to undo alias expansion
    e.g clone will revert back to cl

  • Again correct it from cl to ci and press space key
    e.g git ci will turn into git commit

@spacewander
Copy link
Collaborator

Look like this feature can only be implemented in the shell.

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

Successfully merging a pull request may close this issue.

1 participant