-
Notifications
You must be signed in to change notification settings - Fork 696
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
Add support for command aliases to cabal-install
#1089
Comments
I hope that this would also make it easier to find consensus when introducing new commands (see e.g. #2). |
Interesting idea. If you could cook up a patch, that'd be great. |
@dcoutts I can look into this eventually. But currently I'm swamped, so not sure when. Would we want to extend I don't have a strong preference here, but I'm slightly leaning towards
|
Another possibility is to add a
This is harder, but in my opinion preferable to having configuration scattered over several files. |
Closing in favour of #3849, which is more recent. |
I propose to add support for command aliases to
cabal-install
. This is inspired by Git's support for aliases; if I havein
~/.gitconfig
, then runninggit logk
will have the same effect asgit log --graph --oneline --decorate --all
.Similarly I'd like to have some means to specify that e.g. running
cabal fork
has the same effect as runningcabal get --source-repository
.Git's bash-completion script takes aliases into account, and so should we!
The text was updated successfully, but these errors were encountered: